diff options
| -rw-r--r-- | bragi.nix | 9 |
1 files changed, 5 insertions, 4 deletions
| @@ -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 { |
