adjusted timings
This commit is contained in:
@@ -83,6 +83,7 @@ in
|
||||
};
|
||||
restic = {
|
||||
passwordFile = resticPasswordFile;
|
||||
OnCalendar = "*:0/15";
|
||||
paths = [ "${config.xdg.userDirs.documents}" "/conf" ];
|
||||
exclude = [
|
||||
"/home/*/Pictures"
|
||||
|
||||
@@ -33,6 +33,15 @@
|
||||
type = lib.types.listOf lib.types.str;
|
||||
default = [ ];
|
||||
};
|
||||
OnCalendar = lib.mkOption {
|
||||
description = "";
|
||||
type = lib.types.str;
|
||||
};
|
||||
RandomizedDelaySec = lib.mkOption {
|
||||
description = "";
|
||||
type = lib.types.str;
|
||||
default = "1m";
|
||||
};
|
||||
};
|
||||
|
||||
config = let
|
||||
@@ -61,9 +70,9 @@
|
||||
passwordFile = cfg.passwordFile;
|
||||
paths = cfg.paths;
|
||||
timerConfig = {
|
||||
OnCalendar = "00:05";
|
||||
OnCalendar = cfg.OnCalendar;
|
||||
RandomizedDelaySec = cfg.RandomizedDelaySec;
|
||||
Persistent = true;
|
||||
RandomizedDelaySec = "5h";
|
||||
};
|
||||
runCheck = true;
|
||||
pruneOpts = [
|
||||
|
||||
Reference in New Issue
Block a user