nix-config/nixos/viridian/services/borgbackup
jasmine 7833d89d86
fix(viridian): resolve backup system initialization issues
Fix snapper and borgbackup jobs to work with ephemeral-btrfs setup:

Snapper fixes:
- Remove global /.snapshots mount (use nested subvolumes instead)
- Remove unused hostname variable
- Snapshots now stored in .snapshots subvolumes within each service

Borgbackup fixes:
- Add systemd.tmpfiles.rules to create staging directories at boot
- Add readWritePaths for staging directories (systemd sandboxing)
- Staging directories survive ephemeral root wipes

Architecture notes:
- Nested .snapshots subvolumes don't require separate mounts
- systemd tmpfiles ensures directories exist before services start
- ProtectSystem=strict requires explicit ReadWritePaths allowlist
2025-10-07 09:38:07 +08:00
..
borgbase_hosts chore: update borg repo and passphrase 2025-03-26 13:34:07 +08:00
default.nix feat(viridian): implement comprehensive 3-2-1 backup strategy 2025-10-06 20:59:26 +08:00
key.age chore: update borg repo and passphrase 2025-03-26 13:34:07 +08:00
offsite.nix fix(viridian): resolve backup system initialization issues 2025-10-07 09:38:07 +08:00
onsite.nix fix(viridian): resolve backup system initialization issues 2025-10-07 09:38:07 +08:00
passphrase.age migrate backups to borgbase 2024-10-15 06:46:10 +08:00