NixOS-Config/hosts/redmond/hardware/default.nix

12 lines
431 B
Nix
Raw Normal View History

2024-11-24 20:02:09 -05:00
{ config, lib, ... }:
2024-11-24 20:32:40 -05:00
2024-10-20 18:56:59 -04:00
{
2024-11-24 20:02:09 -05:00
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "ehci_pci" "sd_mod" "sr_mod" "sdhci_pci" "rtsx_usb_sdmmc" ];
2024-11-24 20:32:40 -05:00
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-amd" ];
2024-10-20 18:56:59 -04:00
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}