diff options
Diffstat (limited to 'nix')
-rw-r--r-- | nix/module.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nix/module.nix b/nix/module.nix index 05c092d..401b956 100644 --- a/nix/module.nix +++ b/nix/module.nix | |||
@@ -26,8 +26,8 @@ let | |||
26 | 26 | ||
27 | serviceConfig = { | 27 | serviceConfig = { |
28 | ExecStart = let | 28 | ExecStart = let |
29 | args = [ path (toString maxSize) ] + optional (monitorTimeout != null) monitorTimeout; | 29 | sArgs = [ path (toString maxSize) ] + (optional (monitorTimeout != null) monitorTimeout); |
30 | in "${pkgs.rolling-directory}/bin/rolling-directory ${escapeShellArgs args}"; | 30 | in "${pkgs.rolling-directory}/bin/rolling-directory ${escapeShellArgs sArgs}"; |
31 | }; | 31 | }; |
32 | }; | 32 | }; |
33 | in { | 33 | in { |