summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
Diffstat (limited to 'custom')
-rw-r--r--custom/trivmix-service.nix16
1 files changed, 9 insertions, 7 deletions
diff --git a/custom/trivmix-service.nix b/custom/trivmix-service.nix
index 76b1af6f..da630670 100644
--- a/custom/trivmix-service.nix
+++ b/custom/trivmix-service.nix
@@ -31,12 +31,14 @@ let
31 ''; 31 '';
32 }; 32 };
33in rec { 33in rec {
34 wantedBy = [ "sound.target" ]; 34 out = {
35 requires = [ "jack.service" ]; 35 wantedBy = [ "sound.target" ];
36 serviceConfig = { 36 requires = [ "jack.service" ];
37 Type = "simple"; 37 serviceConfig = {
38 ExecStart = "${trivmix} --client ${name} --run ${genRun} --dir /run/${name}"; 38 Type = "simple";
39 User = "jack"; 39 ExecStart = "${trivmix} --client ${name} --run ${genRun} --dir /run/${name}";
40 Group = "audio"; 40 User = "jack";
41 Group = "audio";
42 };
41 }; 43 };
42} 44}