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