From 852ee02c83cc04fb7073cbcbdc611d95b5121691 Mon Sep 17 00:00:00 2001 From: Soispha Date: Tue, 1 Aug 2023 11:08:25 +0200 Subject: Fix(system/services/backup): Run backup every 8h, not only on boot --- system/services/backup/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'system/services/backup/default.nix') diff --git a/system/services/backup/default.nix b/system/services/backup/default.nix index 8e80397d..171f1043 100644 --- a/system/services/backup/default.nix +++ b/system/services/backup/default.nix @@ -55,10 +55,11 @@ in { timers.backup = { wantedBy = ["timers.target"]; unitConfig = { - Description = "Backup 15min after boot"; + Description = "Backup 15min after boot and every 8 hours"; }; timerConfig = { OnBootSec = "15min"; + OnUnitActiveSec = "8h"; }; }; }; -- cgit 1.4.1