diff options
-rw-r--r-- | bragi.nix | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -167,9 +167,6 @@ in rec { | |||
167 | "speakers1" = { connectOut = "system:playback_8"; connectIn = "outnode1:out"; group = "speakers"; initial = "0"; }; | 167 | "speakers1" = { connectOut = "system:playback_8"; connectIn = "outnode1:out"; group = "speakers"; initial = "0"; }; |
168 | }; | 168 | }; |
169 | 169 | ||
170 | systemd.services.mpdmix0.requiredBy = [ "mpd.service" ]; | ||
171 | systemd.services.mpdmix1.requiredBy = [ "mpd.service" ]; | ||
172 | |||
173 | services.mpd = { | 170 | services.mpd = { |
174 | enable = true; | 171 | enable = true; |
175 | musicDirectory = "/media/odin/music"; | 172 | musicDirectory = "/media/odin/music"; |
@@ -191,7 +188,7 @@ in rec { | |||
191 | user = "mpd"; | 188 | user = "mpd"; |
192 | group = "audio"; | 189 | group = "audio"; |
193 | }; | 190 | }; |
194 | systemd.services."mpd".requires = [ "jack.service" "media-odin.mount" ]; | 191 | systemd.services."mpd".requires = [ "mpdmix0.service" "mpdmix1.service" "media-odin.mount" ]; |
195 | systemd.services."mpd".serviceConfig = { | 192 | systemd.services."mpd".serviceConfig = { |
196 | LimitMEMLOCK = "infinity"; | 193 | LimitMEMLOCK = "infinity"; |
197 | Nice = "-5"; | 194 | Nice = "-5"; |