From beb9e05214a3709211067de17b4c950f50e30d6d Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 3 Sep 2017 23:49:50 +0200 Subject: =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bragi.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'bragi.nix') diff --git a/bragi.nix b/bragi.nix index dc0c7a58..1be1cfc0 100644 --- a/bragi.nix +++ b/bragi.nix @@ -167,9 +167,6 @@ in rec { "speakers1" = { connectOut = "system:playback_8"; connectIn = "outnode1:out"; group = "speakers"; initial = "0"; }; }; - systemd.services.mpdmix0.requiredBy = [ "mpd.service" ]; - systemd.services.mpdmix1.requiredBy = [ "mpd.service" ]; - services.mpd = { enable = true; musicDirectory = "/media/odin/music"; @@ -191,7 +188,7 @@ in rec { user = "mpd"; group = "audio"; }; - systemd.services."mpd".requires = [ "jack.service" "media-odin.mount" ]; + systemd.services."mpd".requires = [ "mpdmix0.service" "mpdmix1.service" "media-odin.mount" ]; systemd.services."mpd".serviceConfig = { LimitMEMLOCK = "infinity"; Nice = "-5"; -- cgit v1.2.3