diff --git a/modules/system/backups.nix b/modules/system/backups.nix index 72117f1..6e653c5 100644 --- a/modules/system/backups.nix +++ b/modules/system/backups.nix @@ -83,6 +83,7 @@ in "$BORG_REPO::$archive" \ ${lib.concatStringsSep " " bak_paths.paths} '' + ) cfg.baks)} else # flatten all paths from cfg.baks into one big list all_paths="${ @@ -107,7 +108,6 @@ in --keep-daily=7 \ --keep-weekly=52 \ --keep-monthly=-1 - ) cfg.baks)} echo "backup run complete at \"$BORG_REPO::$archive\"" ''; };