puter/hosts/headless/vessel/hardware.nix

23 lines
500 B
Nix
Raw Normal View History

2024-02-04 20:51:11 +00:00
{
inputs,
modulesPath,
...
}: {
imports = [
2024-04-13 18:41:18 +00:00
"${modulesPath}/installer/scan/not-detected.nix"
2024-02-04 20:51:11 +00: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 = {
2024-02-26 18:27:27 +00:00
initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"];
2024-02-04 20:51:11 +00:00
kernelModules = ["kvm-intel"];
};
2024-02-26 18:27:27 +00:00
powerManagement.cpuFreqGovernor = "powersave";
2024-02-04 20:51:11 +00:00
}