mpd: listen on 127.0.0.1 by default
commit002f3c8760db7d37356209c51328c4d61745b661
authortg(x) <*@tg-x.net>
dateSun 1 Jan 2017, 13:46 (10 years ago)
parentbbd03e2
nixos/modules/services/audio/mpd.nix+4−4
@@ -83,11 +83,11 @@ in {
8383
8484 listenAddress = mkOption {
8585 type = types.str;
86− default = "any";
86+ default = "127.0.0.1";
87+ example = "any";
8788 description = ''
88− This setting sets the address for the daemon to listen on. Careful attention
89− should be paid if this is assigned to anything other then the default, any.
90− This setting can deny access to control of the daemon.
89+ The address for the daemon to listen on.
90+ Use <literal>any</literal> to listen on all addresses.
9191 '';
9292 };
9393