parsons: init backups
This commit is contained in:
parent
da7beff2fe
commit
1c65805589
1 changed files with 15 additions and 0 deletions
|
@ -33,5 +33,20 @@
|
||||||
services.nginx.recommendedProxySettings = true;
|
services.nginx.recommendedProxySettings = true;
|
||||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
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";
|
system.stateVersion = "21.05";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue