add haze hardware config

This commit is contained in:
2025-02-11 21:26:53 +00:00
parent 662a7f7b9f
commit 41ff1cacc9
3 changed files with 14 additions and 0 deletions

11
hosts/haze/hardware.nix Normal file
View File

@@ -0,0 +1,11 @@
{ config, ... }:
{
nixpkgs.hostPlatform = "x86_64-linux";
hardware.enableRedistributableFirmware = true;
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "vmd" "nvme" "usb_storage" "sd_mod" "rtsx_usb_sdmmc" ];
boot.kernelModules = [ "kvm-intel" ];
hardware.cpu.intel.updateMicrocode = config.hardware.enableRedistributableFirmware;
}