about summary refs log tree commit diff
path: root/nixos/modules/services/backup
diff options
context:
space:
mode:
authorJanik H <janik@aq0.de>2023-05-15 10:32:14 +0200
committerJanik H <janik@aq0.de>2023-05-15 15:16:58 +0200
commit95e1099d2a042ed6d4c23ae3bd46317e0d28c5c5 (patch)
tree856e4503a90ae378f2ee2b7e829415d4cee5c6db /nixos/modules/services/backup
parentfbe2adffdb2e5b7ba376b023d6f5b5c53f8b97ac (diff)
restic: add persistent default for timer unit
Diffstat (limited to 'nixos/modules/services/backup')
-rw-r--r--nixos/modules/services/backup/restic.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/backup/restic.nix b/nixos/modules/services/backup/restic.nix
index 8cc0c084d659f..3a951f7cbc834 100644
--- a/nixos/modules/services/backup/restic.nix
+++ b/nixos/modules/services/backup/restic.nix
@@ -145,6 +145,7 @@ in
           type = types.attrsOf unitOption;
           default = {
             OnCalendar = "daily";
+            Persistent = true;
           };
           description = lib.mdDoc ''
             When to run the backup. See {manpage}`systemd.timer(5)` for details.
@@ -152,6 +153,7 @@ in
           example = {
             OnCalendar = "00:05";
             RandomizedDelaySec = "5h";
+            Persistent = true;
           };
         };