This commit is contained in:
2025-12-28 15:49:18 -05:00
parent b5d2e3188d
commit a549b01111
15 changed files with 19 additions and 19 deletions

24
modules/hardware.nix Normal file
View File

@@ -0,0 +1,24 @@
{
config,
lib,
pkgs,
service_configs,
...
}:
{
boot.initrd.availableKernelModules = [
"xhci_pci"
"ahci"
"usb_storage"
"usbhid"
"sd_mod"
];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
swapDevices = [ ];
hardware.cpu.amd.updateMicrocode = true;
hardware.enableRedistributableFirmware = true;
}