From bde3d5177cbb09ea66b55fea2786526f33bfcbd6 Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Wed, 19 Mar 2025 17:14:14 -0500 Subject: [PATCH] I give up I cant get wifi card to work --- hosts/h002/configuration.nix | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/hosts/h002/configuration.nix b/hosts/h002/configuration.nix index d169d1a..473b522 100644 --- a/hosts/h002/configuration.nix +++ b/hosts/h002/configuration.nix @@ -1,19 +1,39 @@ { pkgs, + config, ... }: { # machine specific configuration # ============================== hardware.enableAllFirmware = true; + hardware.enableRedistributableFirmware = true; # Connectivity networking.networkmanager.enable = true; hardware.bluetooth.enable = true; + # networking.networkmanager.unmanaged = [ "interface-name:wlp*" ]; # Mark wireless as unmanaged environment.shellAliases = { wifi = "nmtui"; }; - environment.systemPackages = with pkgs; [ nvtopPackages.full ]; + # Realtek wireless module support + # Ensure the rtl8192 module is loaded (RTL8190 typically uses rtl8192 driver) + + # boot.extraModulePackages = [ config.boot.kernelPackages.rtl8192eu ]; + boot.kernelModules = [ + "rtl8192ce" + "rtl8192c_common" + "rtlwifi" + "mac80211" + ]; + # Install network management tools + environment.systemPackages = with pkgs; [ + pciutils + wirelesstools + iw + networkmanager + nvtopPackages.full + ]; system.stateVersion = "23.11"; }