diff options
| author | Akshay Nair <phenax5@gmail.com> | 2020-12-21 17:56:57 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2020-12-21 17:56:57 +0530 |
| commit | 084ea886194f277741d6d779e6137d09d8ae9b1e (patch) | |
| tree | efdfb326d06e49e6c69eaccc89550911f4cf16f2 | |
| parent | ebab2f2586739a9e7d0df38f9a1b2eca18b7c719 (diff) | |
| download | nixos-config-084ea886194f277741d6d779e6137d09d8ae9b1e.tar.gz nixos-config-084ea886194f277741d6d779e6137d09d8ae9b1e.zip | |
Fucking fixed the fucking wifi issue and all I had to fucking do was sell my soul to the devil
| -rw-r--r-- | hardware-configuration.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/hardware-configuration.nix b/hardware-configuration.nix index 9890cc0..518b633 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -3,16 +3,20 @@ # to /etc/nixos/configuration.nix instead. { config, lib, pkgs, modulesPath, ... }: +#let + #rtl8822ce = pkgs.callPackage ./packages/drivers/rtl8822ce.nix {}; +#in { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; + boot.kernelPackages = pkgs.linuxPackages_latest; boot.initrd = { - availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" "wl" ]; - kernelModules = [ "wl" ]; + availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" ]; + kernelModules = []; }; - boot.kernelModules = ["kvm-intel" "wl"]; + boot.kernelModules = ["kvm-intel" "sd_mod" "rtw88_8822ce"]; boot.kernelParams = [ "i8042.nopnp=1" "pci=nocrs" ]; boot.extraModulePackages = []; boot.extraModprobeConfig = '' @@ -22,7 +26,7 @@ hardware = { enableAllFirmware = true; cpu.intel.updateMicrocode = true; - firmware = with pkgs; [ wireless-regdb ]; + firmware = with pkgs; [ wireless-regdb rtlwifi_new-firmware ]; }; # Bootloader |
