From 5679323209b26fb9e73fc9d454048dcf3503ba0b Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sun, 29 Jan 2023 12:48:56 +0800 Subject: [PATCH] hosts/plover: add gateway address to networking set --- hosts/plover/modules/hardware/networks.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/hosts/plover/modules/hardware/networks.nix b/hosts/plover/modules/hardware/networks.nix index 06df31a6..1986fd7f 100644 --- a/hosts/plover/modules/hardware/networks.nix +++ b/hosts/plover/modules/hardware/networks.nix @@ -56,8 +56,14 @@ rec { # /16 BLOCK for IPv4, /64 for IPv6. wireguard0 = { - IPv4.address = "10.210.0.1"; - IPv6.address = "${privateIPv6Prefix}:12ae::"; + IPv4 = { + address = "10.210.0.1"; + gateway = widdeerLan; + }; + IPv6 = { + address = "${privateIPv6Prefix}:12ae::"; + gateway = ipv6Gateway; + }; }; };