From dc883d2d9a66caea832c4f820ebf13cf30d6eeb1 Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 16 Jan 2025 23:25:53 +0000 Subject: [PATCH] modify restic backup timer --- hosts/common/optional/restic-backup.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/common/optional/restic-backup.nix b/hosts/common/optional/restic-backup.nix index 8c702ed..837c47e 100644 --- a/hosts/common/optional/restic-backup.nix +++ b/hosts/common/optional/restic-backup.nix @@ -14,6 +14,11 @@ in { sops.secrets = {}; services.restic.backups = { daily = { + timer = { + OnCalendar = "*-*-* 23:00:00"; + Persistent = true; + RandomizedDelaySec = "30m"; + }; initialize = true; passwordFile = passwordFile; paths = [