diff options
author | Alan Pearce | 2024-08-26 20:11:15 +0200 |
---|---|---|
committer | Alan Pearce | 2024-08-26 20:11:15 +0200 |
commit | 471a7b3bb158e0d4336eb64c5fdafd9fb4e68c75 (patch) | |
tree | 905c3688931da5dc386d4e7921d608a38bcf2d08 /system | |
parent | 3229adaddd74981baf6ed46b920e51b2a408c52e (diff) | |
download | nixfiles-471a7b3bb158e0d4336eb64c5fdafd9fb4e68c75.tar.lz nixfiles-471a7b3bb158e0d4336eb64c5fdafd9fb4e68c75.tar.zst nixfiles-471a7b3bb158e0d4336eb64c5fdafd9fb4e68c75.zip |
nanopi: use updated systemd-networkd settings
Diffstat (limited to 'system')
-rwxr-xr-x | system/nanopi.nix | 9 |
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 = { |