fix(deploy): assign unique WireGuard IPs per machine

Move WireGuard IP from shared configuration.nix to per-machine
hardware configs. douro = 10.0.0.4, batm3 = 10.0.0.5.

Previously both machines shared 10.0.0.4 which caused routing
conflicts on the VPS.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Patrick Mulligan 2026-04-04 19:18:12 -04:00
commit cc109b2958
3 changed files with 7 additions and 1 deletions

View file

@ -22,8 +22,8 @@
};
# WireGuard VPN tunnel to VPS for remote SSH access
# IP address set per-machine in hardware/*.nix via networking.wireguard.interfaces.wg0.ips
wireguard.interfaces.wg0 = {
ips = [ "10.0.0.4/24" ];
listenPort = 51820;
privateKeyFile = "/var/lib/wireguard/wg0.key";