nixconfigs/hosts/thinknix/hardware-configuration.nix
Trolli Schmittlauch 603411fa64 thinknix: do not use powersave CPU governor
powersave turns out to be rather slow on today's software stacks
2025-05-21 00:13:09 +02:00

27 lines
489 B
Nix

{
config,
lib,
pkgs,
modulesPath,
...
}:
{
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;
# modesetting is always better than intel (legacy)
services.xserver.videoDrivers = [ "modesetting" ];
}