summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-10-18 00:41:30 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2015-10-18 00:41:30 +0200
commitee61b44bd74df532d5d3bac74d8891b35589d9a5 (patch)
treedac75849f5948855e11f7ad7b067edeb31f09f92 /custom
parent445c3cc60ee4c84fb352e219c55b8e7f5bcf5799 (diff)
downloadnixos-ee61b44bd74df532d5d3bac74d8891b35589d9a5.tar
nixos-ee61b44bd74df532d5d3bac74d8891b35589d9a5.tar.gz
nixos-ee61b44bd74df532d5d3bac74d8891b35589d9a5.tar.bz2
nixos-ee61b44bd74df532d5d3bac74d8891b35589d9a5.tar.xz
nixos-ee61b44bd74df532d5d3bac74d8891b35589d9a5.zip
nicing passmix
Diffstat (limited to 'custom')
-rw-r--r--custom/trivmix-service.nix3
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
12let 13let
@@ -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 };