diff options
author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-08-03 12:20:56 +0200 |
---|---|---|
committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-08-03 12:20:56 +0200 |
commit | c3a02927d1b2c411e69f2c63f4d7849789171657 (patch) | |
tree | 5e1c2e868e16286728a344639b76fb54635e9d14 /custom/trivmix-service.nix | |
parent | ff8e319f2ccc1ce14819338763cf3908a01fe0bd (diff) | |
download | nixos-c3a02927d1b2c411e69f2c63f4d7849789171657.tar nixos-c3a02927d1b2c411e69f2c63f4d7849789171657.tar.gz nixos-c3a02927d1b2c411e69f2c63f4d7849789171657.tar.bz2 nixos-c3a02927d1b2c411e69f2c63f4d7849789171657.tar.xz nixos-c3a02927d1b2c411e69f2c63f4d7849789171657.zip |
allow mpd to lock down sufficient ram
Diffstat (limited to 'custom/trivmix-service.nix')
-rw-r--r-- | custom/trivmix-service.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/trivmix-service.nix b/custom/trivmix-service.nix index 5a1842fc..976397b2 100644 --- a/custom/trivmix-service.nix +++ b/custom/trivmix-service.nix | |||
@@ -36,7 +36,7 @@ in rec { | |||
36 | out = { | 36 | out = { |
37 | wantedBy = [ "sound.target" ]; | 37 | wantedBy = [ "sound.target" ]; |
38 | requires = [ "jack.service" ]; | 38 | requires = [ "jack.service" ]; |
39 | after = [ "jack.service" ]; | 39 | before = [ "mpd.service" ]; |
40 | serviceConfig = { | 40 | serviceConfig = { |
41 | Type = "simple"; | 41 | Type = "simple"; |
42 | ExecStart = ''${trivmix}/bin/trivmix --client ${name} --run ${genRun} /dev/shm/mix/${name}/level${if ! isNull group then " /dev/shm/mix/${group}/level" else ""}''; | 42 | ExecStart = ''${trivmix}/bin/trivmix --client ${name} --run ${genRun} /dev/shm/mix/${name}/level${if ! isNull group then " /dev/shm/mix/${group}/level" else ""}''; |