diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-09-03 23:49:50 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-09-03 23:49:50 +0200 |
commit | beb9e05214a3709211067de17b4c950f50e30d6d (patch) | |
tree | ae238245394927fef694cf3de36e69834fedcb4c | |
parent | a465b981df20a5d5ee79420bf80a2d642d7d03be (diff) | |
download | nixos-beb9e05214a3709211067de17b4c950f50e30d6d.tar nixos-beb9e05214a3709211067de17b4c950f50e30d6d.tar.gz nixos-beb9e05214a3709211067de17b4c950f50e30d6d.tar.bz2 nixos-beb9e05214a3709211067de17b4c950f50e30d6d.tar.xz nixos-beb9e05214a3709211067de17b4c950f50e30d6d.zip |
…
-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"; |