parsons: init backups

This commit is contained in:
hexchen 2021-08-06 18:49:27 +00:00
parent da7beff2fe
commit 1c65805589

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";
}