From 471a7b3bb158e0d4336eb64c5fdafd9fb4e68c75 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 26 Aug 2024 20:11:15 +0200 Subject: nanopi: use updated systemd-networkd settings --- system/nanopi.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'system') diff --git a/system/nanopi.nix b/system/nanopi.nix index 1e7411fa..5bd3d239 100755 --- a/system/nanopi.nix +++ b/system/nanopi.nix @@ -342,7 +342,8 @@ in networkConfig = { DHCP = "yes"; IPv6AcceptRA = true; - IPForward = "yes"; + IPv4Forwarding = true; + IPv6Forwarding = true; }; dhcpV4Config = { UseDNS = false; @@ -373,7 +374,8 @@ in networkConfig = { DHCP = "yes"; IPv6AcceptRA = true; - IPForward = "yes"; + IPv4Forwarding = true; + IPv6Forwarding = true; }; dhcpV4Config = { UseDNS = false; @@ -430,7 +432,8 @@ in matchConfig.MACAddress = "9c:53:22:33:bf:e9"; networkConfig = { DHCP = "yes"; - IPForward = "yes"; + IPv4Forwarding = true; + IPv6Forwarding = true; IgnoreCarrierLoss = "3s"; }; dhcpV4Config = { -- cgit 1.4.1