summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {