configuration.nix/hosts/rico2/hardware/kernel.nix

16 lines
287 B
Nix

{ lib
, pkgs
, ...
}: {
boot = {
initrd = {
availableKernelModules = [
"usbhid"
"usb_storage"
];
systemd.enable = true;
};
kernelPackages = pkgs.linuxPackages_latest;
};
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
}