From c00a3f70339cc3b14db83c58703fba3b92889205 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 17 Apr 2017 23:07:43 +0200 Subject: Revert "Clean up bragi mpd network config" This reverts commit b7a3839b268268306f411247b4d78a7afe7756a9. --- bragi.nix | 9 +++++---- 1 file 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 { services.mpd = { enable = true; musicDirectory = "/media/odin/music"; - network = { - listenAddress = "any"; - port = 6600; - }; + network = { listenAdress = "any"; }; # Just so the module won't produce a bind_to_adress line extraConfig = '' + bind_to_address "bragi.bragisheimr.yggdrasil" + bind_to_address "bragi.asgard.yggdrasil" + bind_to_address "localhost" + bind_to_address "/var/lib/mpd/socket" audio_output { -- cgit v1.2.3