about summary refs log tree commit diff
path: root/machines/asus/hardware-configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'machines/asus/hardware-configuration.nix')
-rw-r--r--machines/asus/hardware-configuration.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/machines/asus/hardware-configuration.nix b/machines/asus/hardware-configuration.nix
index 180bfdc..cad1522 100644
--- a/machines/asus/hardware-configuration.nix
+++ b/machines/asus/hardware-configuration.nix
@@ -9,8 +9,8 @@
     ];
 
   boot.initrd.availableKernelModules = [ "xhci_pci" "usb_storage" "usbhid" "sd_mod" "sdhci_acpi" ];
-  boot.initrd.kernelModules = [ ];
-  boot.kernelModules = [ "kvm-intel" "brcmfmac" ];
+  boot.initrd.kernelModules = [ "brcmfmac" ];
+  boot.kernelModules = [ "kvm-intel" ];
   boot.extraModulePackages = [ ];
 
   boot.kernelParams = [ "intel_idle.max_cstate=1" ];
@@ -26,6 +26,12 @@
     }
   ];
 
+  hardware.enableRedistributableFirmware = true;
+  hardware.enableAllFirmware = true;
+  hardware.firmware = [
+    (pkgs.callPackage ./brcm.nix {})
+  ];
+
   boot.loader = {
     efi = {
       canTouchEfiVariables = true;