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

@ -80,6 +80,9 @@
hybrid-sleep.enable = false;
};
# WireGuard VPN address
networking.wireguard.interfaces.wg0.ips = [ "10.0.0.4/24" ];
# Serial port access for bill validator/dispenser
services.udev.extraRules = lib.mkAfter ''
KERNEL=="ttyS[0-9]*", MODE="0666"