summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-14 14:08:03 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-14 14:08:03 +0200
commit6f624bd369713e4453dfae8b23c93e1c9a37e3da (patch)
treebaaa7ed7c6084c4b9235af3b5989ac44470c5782 /custom
parentd8eb4612ef57cba22d1047326f7275fa4044b6e8 (diff)
downloadnixos-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.nix4
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 };
79in { 81in {
80 options.services.trivmix = mkOption { 82 options.services.trivmix = mkOption {