diff --git a/nixos/common-services.nix b/nixos/common-services.nix index 0c36b599..69263938 100644 --- a/nixos/common-services.nix +++ b/nixos/common-services.nix @@ -37,6 +37,7 @@ repository = "rest:http://brix.local:8000/"; timerConfig = { OnCalendar = "hourly"; }; extraBackupArgs = [ "--exclude='.cache'" "--exclude='.rustup'" ]; + pruneOpts = [ "--keep-daily 8" "--keep-weekly 5" "--keep-monthly 13" "--keep-yearly 16" ]; }; restic.backups.home-to-b2 = {