diff --git a/hosts/flame/default.nix b/hosts/flame/default.nix index 8f68d77..5b4abe1 100644 --- a/hosts/flame/default.nix +++ b/hosts/flame/default.nix @@ -100,6 +100,7 @@ inputs.nixpkgs.lib.nixosSystem rec { endpoint = "s3.us-west-002.backblazeb2.com"; bucket = "noahmasur-backup"; accessKeyId = "0026b0e73b2e2c80000000005"; + resticBucket = "noahmasur-restic"; }; # Disable passwords, only use SSH key diff --git a/modules/nixos/services/actualbudget.nix b/modules/nixos/services/actualbudget.nix index 55b1fec..05c6373 100644 --- a/modules/nixos/services/actualbudget.nix +++ b/modules/nixos/services/actualbudget.nix @@ -66,6 +66,9 @@ # Configure Cloudflare DNS to point to this machine services.cloudflare-dyndns.domains = [ config.hostnames.budget ]; + # Backups + services.restic.backups.default.paths = [ "/var/lib/actualbudget" ]; + }; }