We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3252508 + 71967c4 commit 483845fCopy full SHA for 483845f
nixos/modules/services/backup/syncoid.nix
@@ -106,14 +106,17 @@ in
106
package = lib.mkPackageOption pkgs "sanoid" { };
107
108
interval = lib.mkOption {
109
- type = lib.types.str;
+ type = with lib.types; either str (listOf str);
110
default = "hourly";
111
example = "*-*-* *:15:00";
112
description = ''
113
Run syncoid at this interval. The default is to run hourly.
114
115
- The format is described in
116
- {manpage}`systemd.time(7)`.
+ Must be in the format described in {manpage}`systemd.time(7)`. This is
+ equivalent to adding a corresponding timer unit with
117
+ {option}`OnCalendar` set to the value given here.
118
+
119
+ Set to an empty list to avoid starting syncoid automatically.
120
'';
121
};
122
0 commit comments