summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorAlan Pearce2024-05-31 00:25:10 +0200
committerAlan Pearce2024-05-31 00:25:10 +0200
commitb52444517ce8f5e9b28838aa10f4ddc3fc014dda (patch)
tree8c5d84c43eda93ace323f5a10aec2f1e0da9b421 /system
parent754c82e8f28a79402135a8442ed689633d433c7e (diff)
downloadnixfiles-b52444517ce8f5e9b28838aa10f4ddc3fc014dda.tar.lz
nixfiles-b52444517ce8f5e9b28838aa10f4ddc3fc014dda.tar.zst
nixfiles-b52444517ce8f5e9b28838aa10f4ddc3fc014dda.zip
nanopi: remove duplicate default route
Diffstat (limited to 'system')
-rwxr-xr-xsystem/nanopi.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/nanopi.nix b/system/nanopi.nix
index a37a1c4b..19793909 100755
--- a/system/nanopi.nix
+++ b/system/nanopi.nix
@@ -319,13 +319,14 @@ in
         dhcpV4Config = {
           UseDNS = false;
           SendHostname = false;
-          RouteMetric = 2048;
+          UseRoutes = false;
         };
         ipv6AcceptRAConfig.UseDNS = false;
         routes = [
           {
             routeConfig = {
               Gateway = "_dhcp4";
+              Metric = 2048;
               QuickAck = true;
               InitialCongestionWindow = 30;
               InitialAdvertisedReceiveWindow = 30;