summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bragi.nix5
1 files changed, 1 insertions, 4 deletions
diff --git a/bragi.nix b/bragi.nix
index dc0c7a58..1be1cfc0 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -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";