summaryrefslogtreecommitdiff
path: root/bragi.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-09-03 23:49:50 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2017-09-03 23:49:50 +0200
commitbeb9e05214a3709211067de17b4c950f50e30d6d (patch)
treeae238245394927fef694cf3de36e69834fedcb4c /bragi.nix
parenta465b981df20a5d5ee79420bf80a2d642d7d03be (diff)
downloadnixos-beb9e05214a3709211067de17b4c950f50e30d6d.tar
nixos-beb9e05214a3709211067de17b4c950f50e30d6d.tar.gz
nixos-beb9e05214a3709211067de17b4c950f50e30d6d.tar.bz2
nixos-beb9e05214a3709211067de17b4c950f50e30d6d.tar.xz
nixos-beb9e05214a3709211067de17b4c950f50e30d6d.zip
Diffstat (limited to 'bragi.nix')
-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";