aboutsummaryrefslogtreecommitdiffstats
path: root/system/services/backup
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-08-01 11:08:25 +0200
committerSoispha <soispha@vhack.eu>2023-08-01 11:17:10 +0200
commit852ee02c83cc04fb7073cbcbdc611d95b5121691 (patch)
tree72cf6cfe179075bf56eedcfb0396f0be0882d694 /system/services/backup
parentFix(system/disks/hibernate): Hibernate after 5m when suspend -> hibernate (diff)
downloadnixos-config-852ee02c83cc04fb7073cbcbdc611d95b5121691.zip
Fix(system/services/backup): Run backup every 8h, not only on boot
Diffstat (limited to 'system/services/backup')
-rw-r--r--system/services/backup/default.nix3
1 files changed, 2 insertions, 1 deletions
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";
};
};
};