diff options
author | Nick Cao <nickcao@nichi.co> | 2023-05-15 07:37:51 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-15 07:37:51 -0600 |
commit | dde3cb6977d1ad70feb5652e1b410816314a5ed6 (patch) | |
tree | eaeae1998b60b4701cd5cb4cf8f0faa82413d3bd /nixos | |
parent | 89d1baa08bd35ac01c1372672cdea92bf932d578 (diff) | |
parent | 95e1099d2a042ed6d4c23ae3bd46317e0d28c5c5 (diff) |
Merge pull request #232007 from Janik-Haag/restic
restic: add persistent default for timer unit
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/backup/restic.nix | 2 |
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; }; }; |