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

18 lines
291 B
Nix
Raw Normal View History

2023-08-15 13:06:06 +05:30
{
lib,
pkgs,
...
}: {
boot = {
initrd = {
availableKernelModules = [
"usbhid"
"usb_storage"
];
systemd.enable = true;
};
kernelPackages = pkgs.linuxPackages_latest;
};
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
}