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