21 lines
501 B
Nix
21 lines
501 B
Nix
{ config, lib, modulesPath, ... }:
|
|
{
|
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
|
|
|
boot = {
|
|
initrd = {
|
|
availableKernelModules = [
|
|
"ahci"
|
|
"nvme"
|
|
"sd_mod"
|
|
"usbhid"
|
|
"xhci_pci"
|
|
];
|
|
kernelModules = [ "dm-snapshot" ];
|
|
};
|
|
kernelModules = [ "kvm-amd" ];
|
|
};
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
}
|