1 { lib, pkgs, config, myconfig, mylibs, ... }:
7 text = myconfig.env.mpd.password;
10 networking.firewall.allowedTCPPorts = [ 6600 ];
11 users.users.mpd.extraGroups = [ "wwwrun" ];
14 network.listenAddress = "any";
15 musicDirectory = myconfig.env.mpd.folder;
17 password "${myconfig.env.mpd.password}@read,add,control,admin"
27 port "${myconfig.env.ports.mpd_ogg}"
28 bind_to_address "127.0.0.1"
36 port "${myconfig.env.ports.mpd_mp3}"
37 bind_to_address "127.0.0.1"