me like nix
0

Configure Feed

Select the types of activity you want to include in your feed.

disable usb ethernet on mira

author
Sean Aye
date (Mar 22, 2026, 8:03 PM -0400) commit bc86166b parent 45ae4038 change-id ptvqptmm
+5 -1
+3
hosts/mira/configuration.nix
··· 21 21 22 22 networking.hostName = "mira"; # Define your hostname. 23 23 24 + # Prevent NetworkManager from managing USB Ethernet 25 + networking.networkmanager.unmanaged = [ "interface-name:enp0s20f0u4u3" ]; 26 + 24 27 # ZRAM swap to prevent OOM freezes 25 28 zramSwap = { 26 29 enable = true;
+2 -1
hosts/mira/hardware-configuration.nix
··· 86 86 # still possible to use this option, but it's recommended to use it in conjunction 87 87 # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. 88 88 networking.useDHCP = lib.mkDefault true; 89 - # networking.interfaces.enp0s20f0u4u3.useDHCP = lib.mkDefault true; 89 + # Disable USB Ethernet (connected via switch causing WiFi issues) 90 + networking.interfaces.enp0s20f0u4u3.useDHCP = false; 90 91 # networking.interfaces.enp3s0.useDHCP = lib.mkDefault true; 91 92 # networking.interfaces.wlo1.useDHCP = lib.mkDefault true; 92 93