summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-06-09 22:36:24 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2015-06-09 22:36:24 +0200
commit10118c59ec1dc72f510d1b81c3e0a30866096e90 (patch)
treebcdc3fc20cf747e363919ea02ea13877b3161c53 /custom
parent5d5ccae877374a1cc4796e401a7911f3c43dd233 (diff)
downloadnixos-10118c59ec1dc72f510d1b81c3e0a30866096e90.tar
nixos-10118c59ec1dc72f510d1b81c3e0a30866096e90.tar.gz
nixos-10118c59ec1dc72f510d1b81c3e0a30866096e90.tar.bz2
nixos-10118c59ec1dc72f510d1b81c3e0a30866096e90.tar.xz
nixos-10118c59ec1dc72f510d1b81c3e0a30866096e90.zip
new trivmix config with groups
Diffstat (limited to 'custom')
-rw-r--r--custom/trivmix-service.nix3
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 };