summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorAlan Pearce2024-08-26 20:11:15 +0200
committerAlan Pearce2024-08-26 20:11:15 +0200
commit471a7b3bb158e0d4336eb64c5fdafd9fb4e68c75 (patch)
tree905c3688931da5dc386d4e7921d608a38bcf2d08 /system
parent3229adaddd74981baf6ed46b920e51b2a408c52e (diff)
downloadnixfiles-471a7b3bb158e0d4336eb64c5fdafd9fb4e68c75.tar.lz
nixfiles-471a7b3bb158e0d4336eb64c5fdafd9fb4e68c75.tar.zst
nixfiles-471a7b3bb158e0d4336eb64c5fdafd9fb4e68c75.zip
nanopi: use updated systemd-networkd settings
Diffstat (limited to 'system')
-rwxr-xr-xsystem/nanopi.nix9
1 files changed, 6 insertions, 3 deletions
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 = {