feat: enable B2 backups
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
fd056367d2
commit
70ef850994
1 changed files with 5 additions and 9 deletions
|
|
@ -118,13 +118,9 @@
|
||||||
myModules.crowdsec.enable = true;
|
myModules.crowdsec.enable = true;
|
||||||
|
|
||||||
# === Backups (Restic + B2) ===
|
# === Backups (Restic + B2) ===
|
||||||
# myModules.backup = {
|
myModules.backup = {
|
||||||
# enable = true;
|
enable = true;
|
||||||
# repository = "b2:your-bucket-name";
|
repository = "b2:nixos-vps-backup";
|
||||||
# paths = [ "/var/lib/bitwarden_rs" "/var/backup/vaultwarden" ];
|
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"
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue