summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-04-17 23:07:43 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2017-04-17 23:07:43 +0200
commitc00a3f70339cc3b14db83c58703fba3b92889205 (patch)
tree0eadb701a63ce8e75709799b37a4da0cb3a74ebb
parent9845c5f79e75f48bfe2ea972ba17eed706fc6c77 (diff)
downloadnixos-c00a3f70339cc3b14db83c58703fba3b92889205.tar
nixos-c00a3f70339cc3b14db83c58703fba3b92889205.tar.gz
nixos-c00a3f70339cc3b14db83c58703fba3b92889205.tar.bz2
nixos-c00a3f70339cc3b14db83c58703fba3b92889205.tar.xz
nixos-c00a3f70339cc3b14db83c58703fba3b92889205.zip
Revert "Clean up bragi mpd network config"
This reverts commit b7a3839b268268306f411247b4d78a7afe7756a9.
-rw-r--r--bragi.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/bragi.nix b/bragi.nix
index 10d4b65d..a93ab840 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -133,11 +133,12 @@ in rec {
133 services.mpd = { 133 services.mpd = {
134 enable = true; 134 enable = true;
135 musicDirectory = "/media/odin/music"; 135 musicDirectory = "/media/odin/music";
136 network = { 136 network = { listenAdress = "any"; }; # Just so the module won't produce a bind_to_adress line
137 listenAddress = "any";
138 port = 6600;
139 };
140 extraConfig = '' 137 extraConfig = ''
138 bind_to_address "bragi.bragisheimr.yggdrasil"
139 bind_to_address "bragi.asgard.yggdrasil"
140 bind_to_address "localhost"
141
141 bind_to_address "/var/lib/mpd/socket" 142 bind_to_address "/var/lib/mpd/socket"
142 143
143 audio_output { 144 audio_output {