Merge pull request #21505 from tg-x/mpd-listen
mpd: listen on 127.0.0.1 by default
commit05f2f8e1fd8f24cfb7b9309b45bf61432ea52671
authorJörg Thalheim <joerg@higgsboson.tk>
dateSun 1 Jan 2017, 16:06 (10 years ago)
parentc58b4cf002f3c8
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