summary refs log tree commit diff
path: root/nixos/modules/services/audio/mpd.nix
diff options
context:
space:
mode:
authortg(x) <*@tg-x.net>2017-01-01 13:46:39 +0100
committertg(x) <*@tg-x.net>2017-01-01 13:46:39 +0100
commit002f3c8760db7d37356209c51328c4d61745b661 (patch)
tree8fb05683607d007058d3e89faf0db949d5ac3d4d /nixos/modules/services/audio/mpd.nix
parentbbd03e236a58e9344c91861513699e070186a3c5 (diff)
downloadnixpkgs-002f3c8760db7d37356209c51328c4d61745b661.tar
nixpkgs-002f3c8760db7d37356209c51328c4d61745b661.tar.gz
nixpkgs-002f3c8760db7d37356209c51328c4d61745b661.tar.bz2
nixpkgs-002f3c8760db7d37356209c51328c4d61745b661.tar.lz
nixpkgs-002f3c8760db7d37356209c51328c4d61745b661.tar.xz
nixpkgs-002f3c8760db7d37356209c51328c4d61745b661.tar.zst
nixpkgs-002f3c8760db7d37356209c51328c4d61745b661.zip
mpd: listen on 127.0.0.1 by default
Diffstat (limited to 'nixos/modules/services/audio/mpd.nix')
-rw-r--r--nixos/modules/services/audio/mpd.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/services/audio/mpd.nix b/nixos/modules/services/audio/mpd.nix
index 5ec2e2c2623..a89215d7382 100644
--- a/nixos/modules/services/audio/mpd.nix
+++ b/nixos/modules/services/audio/mpd.nix
@@ -83,11 +83,11 @@ in {
 
         listenAddress = mkOption {
           type = types.str;
-          default = "any";
+          default = "127.0.0.1";
+          example = "any";
           description = ''
-            This setting sets the address for the daemon to listen on. Careful attention
-            should be paid if this is assigned to anything other then the default, any.
-            This setting can deny access to control of the daemon.
+            The address for the daemon to listen on.
+            Use <literal>any</literal> to listen on all addresses.
           '';
         };