From 01153c403db0335ab494ad96e18fd82571bd1cf0 Mon Sep 17 00:00:00 2001 From: Curt Spark Date: Wed, 1 Jan 2025 10:48:06 +0000 Subject: [PATCH] Add efiboot mgr and configure networking settings --- global.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) 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