configuration.nix/system/hardware/kernel.nix
2023-04-04 09:20:48 +05:30

23 lines
443 B
Nix

{ lib
, pkgs
, ...
}: {
boot = {
initrd = {
availableKernelModules = [
"xhci_pci"
"thunderbolt"
"vmd"
"nvme"
"usb_storage"
"sd_mod"
"rtsx_pci_sdmmc"
];
kernelModules = [ "i915" ];
};
kernelModules = [ "kvm-intel" ];
kernelPackages = pkgs.linuxKernel.packages.linux_xanmod_latest;
};
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}