28 lines
608 B
Nix
28 lines
608 B
Nix
|
{
|
||
|
config,
|
||
|
lib,
|
||
|
modulesPath,
|
||
|
...
|
||
|
}: {
|
||
|
imports = [
|
||
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||
|
];
|
||
|
|
||
|
boot = {
|
||
|
initrd = {
|
||
|
availableKernelModules = ["nvme" "xhci_pci" "thunderbolt" "usb_storage" "sd_mod"];
|
||
|
kernelModules = [];
|
||
|
};
|
||
|
kernelModules = ["kvm-amd"];
|
||
|
extraModulePackages = [];
|
||
|
};
|
||
|
|
||
|
hardware.enableAllFirmware = true;
|
||
|
|
||
|
# let networkmanager handle it
|
||
|
networking.useDHCP = lib.mkDefault false;
|
||
|
|
||
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||
|
}
|