From 95e1099d2a042ed6d4c23ae3bd46317e0d28c5c5 Mon Sep 17 00:00:00 2001 From: Janik H Date: Mon, 15 May 2023 10:32:14 +0200 Subject: [PATCH] restic: add persistent default for timer unit --- nixos/modules/services/backup/restic.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/modules/services/backup/restic.nix b/nixos/modules/services/backup/restic.nix index 8cc0c084d659..3a951f7cbc83 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; }; };