NixOS-Config/hosts/jupiter/hardware/default.nix
2024-11-24 09:55:02 -05:00

18 lines
411 B
Nix

{ config, lib, ... }:
{
boot.initrd.availableKernelModules = [
"nvme"
"xhci_pci"
"usb_storage"
"usbhid"
"sd_mod"
"sdhci_pci"
];
boot.kernelModules = [ "kvm-amd" ];
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}