2024-02-04 21:51:11 +01:00
|
|
|
{
|
|
|
|
inputs,
|
|
|
|
modulesPath,
|
|
|
|
...
|
2025-05-11 22:49:04 +02:00
|
|
|
}:
|
|
|
|
{
|
2024-02-04 21:51:11 +01:00
|
|
|
imports = [
|
2024-04-13 20:41:18 +02:00
|
|
|
"${modulesPath}/installer/scan/not-detected.nix"
|
2024-02-04 21:51:11 +01:00
|
|
|
|
|
|
|
inputs.hardware.nixosModules.common-cpu-intel
|
|
|
|
inputs.hardware.nixosModules.common-gpu-intel
|
|
|
|
inputs.hardware.nixosModules.common-pc-ssd
|
|
|
|
];
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = "x86_64-linux";
|
|
|
|
|
|
|
|
boot = {
|
2025-05-11 22:49:04 +02:00
|
|
|
initrd.availableKernelModules = [
|
|
|
|
"xhci_pci"
|
|
|
|
"ahci"
|
|
|
|
"nvme"
|
|
|
|
"usbhid"
|
|
|
|
"usb_storage"
|
|
|
|
"sd_mod"
|
|
|
|
];
|
|
|
|
kernelModules = [ "kvm-intel" ];
|
2024-02-04 21:51:11 +01:00
|
|
|
};
|
|
|
|
|
2024-02-26 19:27:27 +01:00
|
|
|
powerManagement.cpuFreqGovernor = "powersave";
|
2024-02-04 21:51:11 +01:00
|
|
|
}
|