nix-config/nixos/fuchsia/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
..
amdgpu-clocks update amdgpu-clocks 2025-02-16 09:36:06 +08:00
borgbackup fix(borgbackup): prevent race conditions and improve reliability 2025-10-09 11:30:00 +08:00
flatpak feat: add support for flatpak in NixOS configuration 2025-02-23 18:26:58 +08:00
libinput refactor 2024-09-20 20:24:55 +08:00
pipewire setup pipewire 2025-09-01 01:47:59 +08:00
printing install cups 2025-07-06 23:46:38 +08:00
snapper feat(fuchsia): implement backup strategy with explicit home paths 2025-10-07 19:14:11 +08:00
ssh fix(ssh): enable key-based root login and use FQDNs for system services 2025-10-07 23:11:31 +08:00
udev install qmk 2025-05-12 09:58:53 +08:00
xserver refactor 2024-09-20 20:24:55 +08:00
default.nix refactor(ssh): decentralize SSH configuration to per-host services 2025-10-07 22:33:20 +08:00