27 lines
508 B
Nix
27 lines
508 B
Nix
{ modulesPath, ... }:
|
|
{
|
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
|
|
|
boot = {
|
|
initrd = {
|
|
availableKernelModules = [
|
|
"ahci"
|
|
"nvme"
|
|
"sd_mod"
|
|
"sr_mod"
|
|
"usb_storage"
|
|
"usbhid"
|
|
"xhci_pci"
|
|
];
|
|
kernelModules = [ "dm-snapshot" ];
|
|
};
|
|
kernelModules = [ "kvm-intel" ];
|
|
};
|
|
|
|
hardware.cpu = {
|
|
amd.updateMicrocode = true;
|
|
intel.updateMicrocode = true;
|
|
};
|
|
|
|
nixpkgs.hostPlatform = "x86_64-linux";
|
|
}
|