summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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";
         }];
       };
   };