diff options
author | Jörg Thalheim <joerg@higgsboson.tk> | 2017-01-01 16:06:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-01 16:06:17 +0100 |
commit | 05f2f8e1fd8f24cfb7b9309b45bf61432ea52671 (patch) | |
tree | 04a2f8bfe0aeea30c77e65ea048cbd79a89d0857 /nixos/modules/services/audio | |
parent | c58b4cf69394c406b963c9b141b45886d68e9593 (diff) | |
parent | 002f3c8760db7d37356209c51328c4d61745b661 (diff) | |
download | nixlib-05f2f8e1fd8f24cfb7b9309b45bf61432ea52671.tar nixlib-05f2f8e1fd8f24cfb7b9309b45bf61432ea52671.tar.gz nixlib-05f2f8e1fd8f24cfb7b9309b45bf61432ea52671.tar.bz2 nixlib-05f2f8e1fd8f24cfb7b9309b45bf61432ea52671.tar.lz nixlib-05f2f8e1fd8f24cfb7b9309b45bf61432ea52671.tar.xz nixlib-05f2f8e1fd8f24cfb7b9309b45bf61432ea52671.tar.zst nixlib-05f2f8e1fd8f24cfb7b9309b45bf61432ea52671.zip |
Merge pull request #21505 from tg-x/mpd-listen
mpd: listen on 127.0.0.1 by default
Diffstat (limited to 'nixos/modules/services/audio')
-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 5ec2e2c26232..a89215d73828 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. ''; }; |