summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorAlan Pearce2024-08-30 17:15:46 +0200
committerAlan Pearce2024-08-30 17:15:46 +0200
commit363ebe26af3d0ee62dc6b1334b453d74d71aa221 (patch)
tree9393c8f1fee930d2adc92073470c6a5457fa5202 /system
parentc28471ee4f59e966c0613b80e081e8456f42ca34 (diff)
downloadnixfiles-363ebe26af3d0ee62dc6b1334b453d74d71aa221.tar.lz
nixfiles-363ebe26af3d0ee62dc6b1334b453d74d71aa221.tar.zst
nixfiles-363ebe26af3d0ee62dc6b1334b453d74d71aa221.zip
nanopi: remove lte backup connection
Diffstat (limited to 'system')
-rwxr-xr-xsystem/nanopi.nix38
1 files changed, 0 insertions, 38 deletions
diff --git a/system/nanopi.nix b/system/nanopi.nix
index 5bd3d239..1759cf4c 100755
--- a/system/nanopi.nix
+++ b/system/nanopi.nix
@@ -284,12 +284,6 @@ in
           Name = "wlan0";
         };
       };
-      "10-name-lte0" = {
-        matchConfig.MACAddress = "34:4b:50:00:00:00";
-        linkConfig = {
-          Name = "lte0";
-        };
-      };
     };
     netdevs = {
       "20-bridge" = {
@@ -337,38 +331,6 @@ in
           Token = "::1";
         };
       };
-      "50-lte0" = {
-        matchConfig.Name = "lte0";
-        networkConfig = {
-          DHCP = "yes";
-          IPv6AcceptRA = true;
-          IPv4Forwarding = true;
-          IPv6Forwarding = true;
-        };
-        dhcpV4Config = {
-          UseDNS = false;
-          SendHostname = false;
-          UseRoutes = false;
-        };
-        ipv6AcceptRAConfig.UseDNS = false;
-        routes = [
-          {
-            Gateway = "_dhcp4";
-            Metric = 2048;
-            QuickAck = true;
-            InitialCongestionWindow = 30;
-            InitialAdvertisedReceiveWindow = 30;
-          }
-        ];
-        cakeConfig = {
-          Bandwidth = "1M";
-          OverheadBytes = 18;
-          MPUBytes = 64;
-          CompensationMode = "none";
-          NAT = true;
-          PriorityQueueingPreset = "diffserv8";
-        };
-      };
       "50-wan" = {
         matchConfig.Name = "wan0";
         networkConfig = {