diff options
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 e9120f88..44044504 100644 --- a/custom/trivmix-service.nix +++ b/custom/trivmix-service.nix | |||
@@ -4,6 +4,7 @@ | |||
4 | , connectIn ? null | 4 | , connectIn ? null |
5 | , group ? null | 5 | , group ? null |
6 | , initial ? null | 6 | , initial ? null |
7 | , adjustable ? true | ||
7 | , trivmix | 8 | , trivmix |
8 | , stdenv | 9 | , stdenv |
9 | , makeWrapper | 10 | , makeWrapper |
@@ -34,7 +35,7 @@ in { | |||
34 | ${optionalString connect "--run ${connectScript}"} \ | 35 | ${optionalString connect "--run ${connectScript}"} \ |
35 | ${optionalString (! isNull run) "--run ${run}"} \ | 36 | ${optionalString (! isNull run) "--run ${run}"} \ |
36 | ${optionalString (! isNull initial) "--level ${initial}"} \ | 37 | ${optionalString (! isNull initial) "--level ${initial}"} \ |
37 | /dev/shm/mix/${name}/level \ | 38 | ${optionalString (adjustable && isNull group) "/dev/shm/mix/${name}/level"} \ |
38 | ${optionalString (! isNull group) "/dev/shm/mix/${group}/level"} | 39 | ${optionalString (! isNull group) "/dev/shm/mix/${group}/level"} |
39 | ''; | 40 | ''; |
40 | User = "jack"; | 41 | User = "jack"; |