diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-12-25 17:27:25 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-12-25 17:27:25 +0100 |
commit | 062d10ca210953f8ebfc3d6eeb451346c21e920c (patch) | |
tree | 34b5cf4a0b0b3046450c9ec66263be3ef699753d /custom/trivmix-service.nix | |
parent | e6bb94d4414c209a1aa87395366f581048200d96 (diff) | |
download | nixos-062d10ca210953f8ebfc3d6eeb451346c21e920c.tar nixos-062d10ca210953f8ebfc3d6eeb451346c21e920c.tar.gz nixos-062d10ca210953f8ebfc3d6eeb451346c21e920c.tar.bz2 nixos-062d10ca210953f8ebfc3d6eeb451346c21e920c.tar.xz nixos-062d10ca210953f8ebfc3d6eeb451346c21e920c.zip |
Other method for setting nice
Diffstat (limited to 'custom/trivmix-service.nix')
-rw-r--r-- | custom/trivmix-service.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/custom/trivmix-service.nix b/custom/trivmix-service.nix index d5819c4c..1f00ab16 100644 --- a/custom/trivmix-service.nix +++ b/custom/trivmix-service.nix | |||
@@ -39,9 +39,10 @@ in rec { | |||
39 | after = [ "jack.service" ]; | 39 | after = [ "jack.service" ]; |
40 | serviceConfig = { | 40 | serviceConfig = { |
41 | Type = "simple"; | 41 | Type = "simple"; |
42 | ExecStart = ''${coreutils}/bin/nice -n -10 -- ${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 ""}''; |
43 | User = "jack"; | 43 | User = "jack"; |
44 | Group = "audio"; | 44 | Group = "audio"; |
45 | Nice = -10; | ||
45 | }; | 46 | }; |
46 | }; | 47 | }; |
47 | } | 48 | } |