diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-10-18 00:41:30 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-10-18 00:41:30 +0200 |
commit | ee61b44bd74df532d5d3bac74d8891b35589d9a5 (patch) | |
tree | dac75849f5948855e11f7ad7b067edeb31f09f92 /custom/trivmix-service.nix | |
parent | 445c3cc60ee4c84fb352e219c55b8e7f5bcf5799 (diff) | |
download | nixos-ee61b44bd74df532d5d3bac74d8891b35589d9a5.tar nixos-ee61b44bd74df532d5d3bac74d8891b35589d9a5.tar.gz nixos-ee61b44bd74df532d5d3bac74d8891b35589d9a5.tar.bz2 nixos-ee61b44bd74df532d5d3bac74d8891b35589d9a5.tar.xz nixos-ee61b44bd74df532d5d3bac74d8891b35589d9a5.zip |
nicing passmix
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 0408ab83..d5819c4c 100644 --- a/custom/trivmix-service.nix +++ b/custom/trivmix-service.nix | |||
@@ -7,6 +7,7 @@ | |||
7 | , stdenv | 7 | , stdenv |
8 | , makeWrapper | 8 | , makeWrapper |
9 | , jack2 | 9 | , jack2 |
10 | , coreutils | ||
10 | }: | 11 | }: |
11 | 12 | ||
12 | let | 13 | let |
@@ -38,7 +39,7 @@ in rec { | |||
38 | after = [ "jack.service" ]; | 39 | after = [ "jack.service" ]; |
39 | serviceConfig = { | 40 | serviceConfig = { |
40 | Type = "simple"; | 41 | Type = "simple"; |
41 | 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 = ''${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 | User = "jack"; | 43 | User = "jack"; |
43 | Group = "audio"; | 44 | Group = "audio"; |
44 | }; | 45 | }; |