diff options
Diffstat (limited to 'custom')
-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 ba65ba0a..c9840c35 100644 --- a/custom/trivmix-service.nix +++ b/custom/trivmix-service.nix | |||
@@ -2,6 +2,7 @@ | |||
2 | , run ? null | 2 | , run ? null |
3 | , connectOut ? null | 3 | , connectOut ? null |
4 | , connectIn ? null | 4 | , connectIn ? null |
5 | , group ? null | ||
5 | , trivmix | 6 | , trivmix |
6 | , stdenv | 7 | , stdenv |
7 | , makeWrapper | 8 | , makeWrapper |
@@ -36,7 +37,7 @@ in rec { | |||
36 | requires = [ "jack.service" ]; | 37 | requires = [ "jack.service" ]; |
37 | serviceConfig = { | 38 | serviceConfig = { |
38 | Type = "simple"; | 39 | Type = "simple"; |
39 | ExecStart = "${trivmix}/bin/trivmix --client ${name} --run ${genRun} --dir /dev/shm/${name}"; | 40 | ExecStart = "${trivmix}/bin/trivmix --client ${name} --run ${genRun} --level /dev/shm/mix/${name}/level${if ! isNull group then \" --dir /dev/shm/mix/${group}/level\" else \"\"}"; |
40 | User = "jack"; | 41 | User = "jack"; |
41 | Group = "audio"; | 42 | Group = "audio"; |
42 | }; | 43 | }; |