summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-05-31 04:28:37 +0200
committerAlan Pearce2024-05-31 04:28:37 +0200
commit780acbc1bc6b3ba69390e8cf7249f4a2e744861e (patch)
tree329ac231b5f5bd8c91018d046a5aa7ec9f83dda6
parentdc9c265bd66f57de42054c2df710b421e619e667 (diff)
downloadnixfiles-780acbc1bc6b3ba69390e8cf7249f4a2e744861e.tar.lz
nixfiles-780acbc1bc6b3ba69390e8cf7249f4a2e744861e.tar.zst
nixfiles-780acbc1bc6b3ba69390e8cf7249f4a2e744861e.zip
linde: remove now-unnecessary (>24.05) network config nesting
-rw-r--r--system/linde.nix28
1 files changed, 11 insertions, 17 deletions
diff --git a/system/linde.nix b/system/linde.nix
index 00c71b49..e4be3671 100644
--- a/system/linde.nix
+++ b/system/linde.nix
@@ -242,21 +242,17 @@ in
         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 @@ in
           "${net-rdnsip}/${net-mask6}"
         ];
         addresses = [{
-          addressConfig = {
-            Address = "${net-ip4}/${net-mask4}";
-            Peer = "${net-gw}/32";
-          };
+          Address = "${net-ip4}/${net-mask4}";
+          Peer = "${net-gw}/32";
         }];
       };
   };