parsons: init backups

keep-around/42f6b6f527998bd6b14fd29437a6df47cf190bae
hexchen 2021-08-06 18:49:27 +00:00
parent da7beff2fe
commit 1c65805589
1 changed files with 15 additions and 0 deletions

View File

@ -33,5 +33,20 @@
services.nginx.recommendedProxySettings = true;
networking.firewall.allowedTCPPorts = [ 80 443 ];
services.restic.backups.tardis = {
passwordFile = "/persist/restic/system";
s3CredentialsFile = "/persist/restic/system.s3creds";
paths = [
"/home"
"/persist"
];
pruneOpts = [
"--keep-daily 7"
"--keep-weekly 5"
"--keep-monthly 3"
];
repository = "b2:tardis-parsons:system";
};
system.stateVersion = "21.05";
}