diff --git a/hosts/parsons/configuration.nix b/hosts/parsons/configuration.nix index 2b7bf48..e879b4c 100644 --- a/hosts/parsons/configuration.nix +++ b/hosts/parsons/configuration.nix @@ -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"; }