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