configuration.nix/hosts/rico1/hardware/kernel.nix

17 lines
291 B
Nix

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