diff --git a/configuration.nix b/configuration.nix index 71d146d..b27e415 100644 --- a/configuration.nix +++ b/configuration.nix @@ -118,13 +118,9 @@ myModules.crowdsec.enable = true; # === Backups (Restic + B2) === - # myModules.backup = { - # enable = true; - # repository = "b2:your-bucket-name"; - # paths = [ "/var/lib/bitwarden_rs" "/var/backup/vaultwarden" ]; - # }; - # Add to secrets.yaml: - # b2_account_id: "your-key-id" - # b2_account_key: "your-key" - # restic_password: "strong-encryption-password" + myModules.backup = { + enable = true; + repository = "b2:nixos-vps-backup"; + paths = [ "/var/lib/bitwarden_rs" "/var/backup/vaultwarden" ]; + }; }