diff options
author | Soispha <soispha@vhack.eu> | 2023-08-01 11:08:25 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-08-01 11:17:10 +0200 |
commit | 852ee02c83cc04fb7073cbcbdc611d95b5121691 (patch) | |
tree | 72cf6cfe179075bf56eedcfb0396f0be0882d694 | |
parent | Fix(system/disks/hibernate): Hibernate after 5m when suspend -> hibernate (diff) | |
download | nixos-config-852ee02c83cc04fb7073cbcbdc611d95b5121691.tar.gz nixos-config-852ee02c83cc04fb7073cbcbdc611d95b5121691.zip |
Fix(system/services/backup): Run backup every 8h, not only on boot
Diffstat (limited to '')
-rw-r--r-- | system/services/backup/default.nix | 3 |
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"; }; }; }; |