From 38079311831bd64f7c76e891fa2af7ab2ea08cb0 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 20 Aug 2017 19:35:11 +0200 Subject: Try fancier audio setup --- custom/trivmix-service.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'custom') 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 @@ , connectIn ? null , group ? null , initial ? null +, adjustable ? true , trivmix , stdenv , makeWrapper @@ -34,7 +35,7 @@ in { ${optionalString connect "--run ${connectScript}"} \ ${optionalString (! isNull run) "--run ${run}"} \ ${optionalString (! isNull initial) "--level ${initial}"} \ - /dev/shm/mix/${name}/level \ + ${optionalString (adjustable && isNull group) "/dev/shm/mix/${name}/level"} \ ${optionalString (! isNull group) "/dev/shm/mix/${group}/level"} ''; User = "jack"; -- cgit v1.2.3