nix-config/nixos/viridian/services
jasmine a276fdf53a
fix(borgbackup): prevent race conditions and improve reliability
Fixes multiple issues with borgbackup service coordination:

1. Race condition between onsite/offsite backups
   - Set Type=oneshot to ensure services wait for completion
   - Added Wants= dependency to trigger onsite when offsite runs
   - Prevents snapshot path collision at /btrfs-subvolumes

2. Network unavailability after sleep/wake
   - Added persistentTimer=true to onsite backups
   - NixOS module now auto-adds network-online.target dependencies
   - Fixes DNS resolution failures for SSH repos

3. Data loss risk from missed backups
   - Persistent timers ensure backups run on wake if missed
   - Protects work done before sleep from being unbackored

4. Duplicate onsite runs at midnight
   - Removed 15-minute stagger (00:15 -> 00:00)
   - Systemd deduplicates services in same transaction
   - Onsite now runs once, not twice

Applied to both fuchsia and viridian for consistency.
2025-10-09 11:30:00 +08:00
..
borgbackup fix(borgbackup): prevent race conditions and improve reliability 2025-10-09 11:30:00 +08:00
crowdsec remove allowlist 2025-05-30 15:46:35 +08:00
forgejo refactor(viridian): migrate service data to dedicated BTRFS subvolumes 2025-10-06 13:07:46 +08:00
inspircd setup irc network 2025-06-06 18:31:08 +08:00
lighttpd refactor(viridian): migrate service data to dedicated BTRFS subvolumes 2025-10-06 13:07:46 +08:00
minecraft refactor(viridian): migrate service data to dedicated BTRFS subvolumes 2025-10-06 13:07:46 +08:00
mpd fix: Update NFS export IP address format 2025-02-18 21:56:49 +08:00
murmur install murmur 2025-06-04 23:38:48 +08:00
opengist refactor(viridian): migrate service data to dedicated BTRFS subvolumes 2025-10-06 13:07:46 +08:00
snapper fix(viridian): resolve backup system initialization issues 2025-10-07 09:38:07 +08:00
ssh fix(ssh): enable key-based root login and use FQDNs for system services 2025-10-07 23:11:31 +08:00
traefik remove ollama service from fuchsia host 2025-09-29 18:30:59 +08:00
default.nix refactor(ssh): decentralize SSH configuration to per-host services 2025-10-07 22:33:20 +08:00