configuration.nix/system/kernel.nix

25 lines
433 B
Nix
Raw Normal View History

2023-03-25 22:10:09 +05:30
{
lib,
pkgs,
...
}: {
2023-03-15 22:11:59 +05:30
boot = {
initrd = {
availableKernelModules = [
"xhci_pci"
"thunderbolt"
"vmd"
"nvme"
"usb_storage"
"sd_mod"
"rtsx_pci_sdmmc"
];
2023-03-25 22:10:09 +05:30
kernelModules = ["i915"];
2023-03-15 22:11:59 +05:30
};
2023-03-25 22:10:09 +05:30
kernelModules = ["kvm-intel"];
2023-03-16 23:35:56 +05:30
kernelPackages = pkgs.linuxKernel.packages.linux_zen;
2023-03-15 22:11:59 +05:30
};
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}