diff --git a/systems/LoutreOS/network.nix b/systems/LoutreOS/network.nix index e65303b..6c97c79 100644 --- a/systems/LoutreOS/network.nix +++ b/systems/LoutreOS/network.nix @@ -283,14 +283,11 @@ ####### # Wireguard ARN network configuation - "10-wg0" = let - vpnIPv4 = "89.234.141.196/32"; - vpnIPv6 = "2a00:5881:8119:400::1/128"; - in { + "10-wg0" = { matchConfig.Name = "wg0"; address = [ - vpnIPv4 - vpnIPv6 + "89.234.141.196/32" + "2a00:5881:8119:400::1/128" ]; routingPolicyRules = [ # Route outgoing emails to VPN table