21 lines
432 B
Nix
21 lines
432 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_zen;
|
|
};
|
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
|
}
|