diff --git a/global.nix b/global.nix index 72bd1bc8..68a68367 100644 --- a/global.nix +++ b/global.nix @@ -70,6 +70,9 @@ }; }; + # Enable proper support for USB wifi/Wwan adapters. + hardware.usbWwan.enable = true; + # You can specify here what python packages you waint available to python # Custom Python package with all the (Python) imports I need my-python-packages = python-packages: with python-packages; [ # ... @@ -90,6 +93,7 @@ nix-index git wget + efibootmgr ntfs3g # Programming Stuff, language servers etc @@ -496,6 +500,13 @@ enable = true; }; + # Disable powersave feature on network cards. + networking.networkmanager.wifi.powersave = false; + + # Use the preserved MAC address of the network card. + networking.networkmanager.wifi.macAddress = "preserve"; + networking.networkmanager.wifi.scanRandMacAddress = false; + services.udev.extraRules = '' ## Rules file for NetMD devices and HiMD devices in NetMD mode ## source: https://usb-ids.gowdy.us/read/UD/054c