nix-config/nixos/viridian/services
jasmine 4389500ccc
fix(borgbackup): add network dependencies to onsite services
Fixes DNS resolution failures when persistent timers trigger backups
after system wake.

The NixOS borgbackup module adds network-online.target dependencies
to the timer when persistentTimer=true, but systemd timers don't pass
their dependencies to the services they trigger. This caused onsite
backups to start before the network was ready, resulting in "Could not
resolve hostname" errors.

Adding after/wants network-online.target directly to the service
ensures the backup waits for network availability regardless of how
it's triggered (timer or offsite's Wants= dependency).

Example failure (Oct 11, 07:43):
- Backup started at 07:43:43 (persistent timer caught up)
- DNS lookup failed: "Could not resolve hostname viridian.home.arpa"
- WiFi connected at 07:43:47 (4 seconds too late)

Applied to both fuchsia and viridian onsite backups.
2025-10-11 08:06:00 +08:00
..
borgbackup fix(borgbackup): add network dependencies to onsite services 2025-10-11 08:06: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