2024-03-16 17:18:20 +01:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
modulesPath,
|
|
|
|
...
|
|
|
|
}:
|
2024-01-09 23:48:38 +01:00
|
|
|
|
|
|
|
{
|
2024-03-16 17:18:20 +01:00
|
|
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
2024-01-09 23:48:38 +01:00
|
|
|
|
2024-03-16 17:18:20 +01:00
|
|
|
boot.initrd.availableKernelModules = [
|
|
|
|
"xhci_pci"
|
|
|
|
"ehci_pci"
|
|
|
|
"ahci"
|
|
|
|
"usb_storage"
|
|
|
|
"sd_mod"
|
|
|
|
"rtsx_pci_sdmmc"
|
|
|
|
];
|
2024-01-09 23:48:38 +01:00
|
|
|
boot.kernelModules = [ "kvm-intel" ];
|
2024-03-16 17:18:20 +01:00
|
|
|
boot.extraModulePackages = [ ];
|
2024-01-09 23:48:38 +01:00
|
|
|
|
|
|
|
nix.settings.max-jobs = lib.mkDefault 4;
|
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
|
|
|
|
|
|
|
# modesetting is always better than intel (legacy)
|
|
|
|
services.xserver.videoDrivers = [ "modesetting" ];
|
|
|
|
}
|