all repos — nixfiles @ 471a7b3bb158e0d4336eb64c5fdafd9fb4e68c75

System and user configuration, managed by nix and home-manager

nanopi: use updated systemd-networkd settings
Alan Pearce alan@alanpearce.eu
Mon, 26 Aug 2024 20:11:15 +0200
commit

471a7b3bb158e0d4336eb64c5fdafd9fb4e68c75

parent

3229adaddd74981baf6ed46b920e51b2a408c52e

1 files changed, 6 insertions(+), 3 deletions(-)

jump to
M system/nanopi.nixsystem/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 = {