summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
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 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}