diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-14 14:08:03 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-14 14:08:03 +0200 |
commit | 6f624bd369713e4453dfae8b23c93e1c9a37e3da (patch) | |
tree | baaa7ed7c6084c4b9235af3b5989ac44470c5782 /custom | |
parent | d8eb4612ef57cba22d1047326f7275fa4044b6e8 (diff) | |
download | nixos-6f624bd369713e4453dfae8b23c93e1c9a37e3da.tar nixos-6f624bd369713e4453dfae8b23c93e1c9a37e3da.tar.gz nixos-6f624bd369713e4453dfae8b23c93e1c9a37e3da.tar.bz2 nixos-6f624bd369713e4453dfae8b23c93e1c9a37e3da.tar.xz nixos-6f624bd369713e4453dfae8b23c93e1c9a37e3da.zip |
…
Diffstat (limited to 'custom')
-rw-r--r-- | custom/trivmix-service.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/custom/trivmix-service.nix b/custom/trivmix-service.nix index b58a5fb9..14f2e3c8 100644 --- a/custom/trivmix-service.nix +++ b/custom/trivmix-service.nix | |||
@@ -73,8 +73,10 @@ let | |||
73 | Nice = "-10"; | 73 | Nice = "-10"; |
74 | LimitRTPRIO = "95:95"; | 74 | LimitRTPRIO = "95:95"; |
75 | LimitMEMLOCK = "infinity"; | 75 | LimitMEMLOCK = "infinity"; |
76 | ExecStart = "trivmix ${escapeShellArgs trivmixArgs}"; | ||
77 | }; | 76 | }; |
77 | script = '' | ||
78 | exec -a trivmix -- trivmix ${escapeShellArgs trivmixArgs} | ||
79 | ''; | ||
78 | }; | 80 | }; |
79 | in { | 81 | in { |
80 | options.services.trivmix = mkOption { | 82 | options.services.trivmix = mkOption { |