about summary refs log tree commit diff
path: root/machines/asus/hardware-configuration.nix
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-01-22 08:11:04 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-01-22 08:11:04 +0100
commit01afb9187a3902c907fcc7acd5583075a59e46b4 (patch)
tree1a501e8ab200f80e66d3cb12415e9439887a4298 /machines/asus/hardware-configuration.nix
parent06f117d2e3fd75ab6e7ca4dd62a79e74315a8a24 (diff)
downloaddots-01afb9187a3902c907fcc7acd5583075a59e46b4.tar.gz
dots-01afb9187a3902c907fcc7acd5583075a59e46b4.zip
Add all hardware
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;