nanopi: use updated systemd-networkd settings
Alan Pearce alan@alanpearce.eu
Mon, 26 Aug 2024 20:11:15 +0200
1 files changed, 6 insertions(+), 3 deletions(-)
jump to
M system/nanopi.nix → system/nanopi.nix
@@ -342,7 +342,8 @@ matchConfig.Name = "lte0"; networkConfig = { DHCP = "yes"; IPv6AcceptRA = true; - IPForward = "yes"; + IPv4Forwarding = true; + IPv6Forwarding = true; }; dhcpV4Config = { UseDNS = false; @@ -373,7 +374,8 @@ matchConfig.Name = "wan0"; networkConfig = { DHCP = "yes"; IPv6AcceptRA = true; - IPForward = "yes"; + IPv4Forwarding = true; + IPv6Forwarding = true; }; dhcpV4Config = { UseDNS = false; @@ -430,7 +432,8 @@ "60-wlan" = { matchConfig.MACAddress = "9c:53:22:33:bf:e9"; networkConfig = { DHCP = "yes"; - IPForward = "yes"; + IPv4Forwarding = true; + IPv6Forwarding = true; IgnoreCarrierLoss = "3s"; }; dhcpV4Config = {