summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <pngwjpgh@users.noreply.github.com>2016-08-03 12:22:40 +0200
committerGregor Kleen <pngwjpgh@users.noreply.github.com>2016-08-03 12:22:40 +0200
commitb4fae2ddb474fb169d9352a542ecf64550a7b80f (patch)
tree9425544c2ac31565ccb5e7456cd3b3c125471b9e
parentc3a02927d1b2c411e69f2c63f4d7849789171657 (diff)
downloadnixos-b4fae2ddb474fb169d9352a542ecf64550a7b80f.tar
nixos-b4fae2ddb474fb169d9352a542ecf64550a7b80f.tar.gz
nixos-b4fae2ddb474fb169d9352a542ecf64550a7b80f.tar.bz2
nixos-b4fae2ddb474fb169d9352a542ecf64550a7b80f.tar.xz
nixos-b4fae2ddb474fb169d9352a542ecf64550a7b80f.zip
more resources for trivmix
-rw-r--r--custom/trivmix-service.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/custom/trivmix-service.nix b/custom/trivmix-service.nix
index 976397b2..3c3cded7 100644
--- a/custom/trivmix-service.nix
+++ b/custom/trivmix-service.nix
@@ -42,7 +42,9 @@ in rec {
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 ""}'';
43 User = "jack"; 43 User = "jack";
44 Group = "audio"; 44 Group = "audio";
45 Nice = -10; 45 Nice = "-10";
46 LimitRTPRIO = "95:95";
47 LimitMEMLOCK = "infinity";
46 }; 48 };
47 }; 49 };
48} 50}