linde: remove now-unnecessary (>24.05) network config nesting
Alan Pearce alan@alanpearce.eu
Fri, 31 May 2024 04:28:37 +0200
1 files changed, 11 insertions(+), 17 deletions(-)
jump to
M system/linde.nix → system/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"; }]; }; };