Merge pull request 'borgbackup: use persistent timers' (#871) from Mic92-main into main
All checks were successful
checks / check-links (push) Successful in 21s
checks / checks (push) Successful in 31s
checks / checks-impure (push) Successful in 1m53s

This commit is contained in:
clan-bot 2024-02-22 12:50:25 +00:00
commit 943c19939a

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
'';