diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-06-07 23:10:21 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-06-07 23:10:21 +0200 |
commit | 16218b6332c4097374f2b81c86fcb76f50695c88 (patch) | |
tree | efb0f0f87b5055c3d2059ed88f8b25b42b3758b6 /custom | |
parent | f1abbf1435c9bcd92cf28f643217f37b95c1aa93 (diff) | |
download | nixos-16218b6332c4097374f2b81c86fcb76f50695c88.tar nixos-16218b6332c4097374f2b81c86fcb76f50695c88.tar.gz nixos-16218b6332c4097374f2b81c86fcb76f50695c88.tar.bz2 nixos-16218b6332c4097374f2b81c86fcb76f50695c88.tar.xz nixos-16218b6332c4097374f2b81c86fcb76f50695c88.zip |
insulated derivations
Diffstat (limited to 'custom')
-rw-r--r-- | custom/trivmix-service.nix | 16 |
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 | }; |
33 | in rec { | 33 | in 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 | } |