From be327b6c906366a0c152f4038b929e03d49a8716 Mon Sep 17 00:00:00 2001
From: ahuston-0 <aliceghuston@gmail.com>
Date: Tue, 6 Aug 2024 16:41:24 -0400
Subject: [PATCH] replace deprecated (IPForward) attribute

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
---
 systems/palatine-hill/networking.nix | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/systems/palatine-hill/networking.nix b/systems/palatine-hill/networking.nix
index 2506506..56556d7 100644
--- a/systems/palatine-hill/networking.nix
+++ b/systems/palatine-hill/networking.nix
@@ -19,15 +19,21 @@
       "10-lan" = {
         matchConfig.Name = "eno1";
         address = [ "192.168.76.2/24" ];
-        routes = [ { routeConfig.Gateway = "192.168.76.1"; } ];
-        IPForward = "yes";
+        routes = [ { Gateway = "192.168.76.1"; } ];
+        networkConfig = {
+          IPv4Forwarding = true;
+          IPv6Forwarding = true;
+        };
         linkConfig.RequiredForOnline = "routable";
       };
       # default lan settings
       "60-def-lan" = {
         matchConfig.type = "ether";
-        DHCP = "ipv4";
-        IPForward = "yes";
+        networkConfig = {
+          DHCP = "ipv4";
+          IPv4Forwarding = true;
+          IPv6Forwarding = true;
+        };
         #routes = [ { routeConfig.Gateway = "192.168.76.1"; } ];
         linkConfig.RequiredForOnline = "no";
       };