diff options
author | tg(x) <*@tg-x.net> | 2017-01-01 13:46:39 +0100 |
---|---|---|
committer | tg(x) <*@tg-x.net> | 2017-01-01 13:46:39 +0100 |
commit | 002f3c8760db7d37356209c51328c4d61745b661 (patch) | |
tree | 8fb05683607d007058d3e89faf0db949d5ac3d4d /nixos | |
parent | bbd03e236a58e9344c91861513699e070186a3c5 (diff) |
mpd: listen on 127.0.0.1 by default
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/audio/mpd.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/services/audio/mpd.nix b/nixos/modules/services/audio/mpd.nix index 5ec2e2c262324..a89215d738287 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. ''; }; |