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:
parent
71d353f18a
commit
1aeef2283a
10 changed files with 119 additions and 155 deletions
|
@ -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"
|
||||
# ];
|
||||
};
|
||||
}));
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue