1 { lib, pkgs, config, myconfig, mylibs, ... }:
4 networking.firewall.allowedTCPPorts = [ 6600 ];
5 users.users.mpd.extraGroups = [ "wwwrun" ];
8 network.listenAddress = "any";
9 musicDirectory = myconfig.env.mpd.folder;
11 password "${myconfig.env.mpd.password}@read,add,control,admin"
21 port "${myconfig.env.ports.mpd_ogg}"
22 bind_to_address "127.0.0.1"
30 port "${myconfig.env.ports.mpd_mp3}"
31 bind_to_address "127.0.0.1"