borgbackup: use persistent timers
checks / check-links (pull_request) Successful in 21s Details
checks / checks (pull_request) Successful in 2m53s Details
checks / checks-impure (pull_request) Successful in 2m13s Details

This commit is contained in:
Jörg Thalheim 2024-02-22 13:47:09 +01:00
parent 1cb33a5c6c
commit 17d7eec0ae
1 changed files with 2 additions and 3 deletions

View File

@ -34,14 +34,13 @@ in
services.borgbackup.jobs = lib.mapAttrs
(_: dest: {
paths = lib.flatten (map (state: state.folders) (lib.attrValues config.clanCore.state));
exclude = [
"*.pyc"
];
exclude = [ "*.pyc" ];
repo = dest.repo;
environment.BORG_RSH = dest.rsh;
encryption.mode = "none";
compression = "auto,zstd";
startAt = "*-*-* 01:00:00";
persistentTimer = true;
preHook = ''
set -x
'';