all repos — nixfiles @ 780acbc1bc6b3ba69390e8cf7249f4a2e744861e

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

linde: remove now-unnecessary (>24.05) network config nesting
Alan Pearce alan@alanpearce.eu
Fri, 31 May 2024 04:28:37 +0200
commit

780acbc1bc6b3ba69390e8cf7249f4a2e744861e

parent

dc9c265bd66f57de42054c2df710b421e619e667

1 files changed, 11 insertions(+), 17 deletions(-)

jump to
M system/linde.nixsystem/linde.nix
@@ -242,21 +242,17 @@ {         name = netif;
         routes = [
           {
-            routeConfig = {
-              Gateway = net-gw6;
-              PreferredSource = net-ip6;
-              QuickAck = true;
-              InitialCongestionWindow = 30;
-              InitialAdvertisedReceiveWindow = 30;
-            };
+            Gateway = net-gw6;
+            PreferredSource = net-ip6;
+            QuickAck = true;
+            InitialCongestionWindow = 30;
+            InitialAdvertisedReceiveWindow = 30;
           }
           {
-            routeConfig = {
-              Gateway = net-gw;
-              QuickAck = true;
-              InitialCongestionWindow = 30;
-              InitialAdvertisedReceiveWindow = 30;
-            };
+            Gateway = net-gw;
+            QuickAck = true;
+            InitialCongestionWindow = 30;
+            InitialAdvertisedReceiveWindow = 30;
           }
         ];
         address = [
@@ -264,10 +260,8 @@ "${net-ip6}/${net-mask6}"           "${net-rdnsip}/${net-mask6}"
         ];
         addresses = [{
-          addressConfig = {
-            Address = "${net-ip4}/${net-mask4}";
-            Peer = "${net-gw}/32";
-          };
+          Address = "${net-ip4}/${net-mask4}";
+          Peer = "${net-gw}/32";
         }];
       };
   };