26 lines
571 B
Nix
26 lines
571 B
Nix
{
|
|
inputs,
|
|
modulesPath,
|
|
...
|
|
}: {
|
|
imports = [
|
|
"${modulesPath}/installer/scan/not-detected.nix"
|
|
|
|
inputs.hardware.nixosModules.common-cpu-amd
|
|
inputs.hardware.nixosModules.common-gpu-amd
|
|
inputs.hardware.nixosModules.common-pc-laptop-ssd
|
|
inputs.hardware.nixosModules.lenovo-thinkpad
|
|
];
|
|
|
|
nixpkgs.hostPlatform = "x86_64-linux";
|
|
|
|
boot = {
|
|
initrd = {
|
|
availableKernelModules = ["nvme" "xhci_pci" "thunderbolt" "usb_storage" "sd_mod"];
|
|
kernelModules = [];
|
|
};
|
|
kernelModules = ["kvm-amd"];
|
|
extraModulePackages = [];
|
|
};
|
|
}
|