1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 23:00:39 +02:00

feat: update flake and switch to append only backups

This commit is contained in:
oddlama 2024-08-06 01:32:07 +02:00
parent 71d353f18a
commit 1aeef2283a
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
10 changed files with 119 additions and 155 deletions

View file

@ -68,12 +68,13 @@ in {
};
initialize = true;
passwordFile = config.age.secrets.restic-encryption-password.path;
pruneOpts = [
"--keep-daily 14"
"--keep-weekly 7"
"--keep-monthly 12"
"--keep-yearly 75"
];
# We cannot prune ourselves, since the remote repository will be append-only
# pruneOpts = [
# "--keep-daily 14"
# "--keep-weekly 7"
# "--keep-monthly 12"
# "--keep-yearly 75"
# ];
};
}));
};