From 10118c59ec1dc72f510d1b81c3e0a30866096e90 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 9 Jun 2015 22:36:24 +0200 Subject: new trivmix config with groups --- custom/trivmix-service.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'custom/trivmix-service.nix') 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 @@ , run ? null , connectOut ? null , connectIn ? null +, group ? null , trivmix , stdenv , makeWrapper @@ -36,7 +37,7 @@ in rec { requires = [ "jack.service" ]; serviceConfig = { Type = "simple"; - ExecStart = "${trivmix}/bin/trivmix --client ${name} --run ${genRun} --dir /dev/shm/${name}"; + 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 \"\"}"; User = "jack"; Group = "audio"; }; -- cgit v1.2.3