configuration.nix/hosts/rico/hardware/kernel.nix

18 lines
291 B
Nix
Raw Normal View History

2023-05-18 16:11:26 +05:30
{
lib,
pkgs,
...
}: {
2023-04-15 22:35:39 +05:30
boot = {
initrd = {
availableKernelModules = [
"usbhid"
"usb_storage"
];
systemd.enable = true;
};
kernelPackages = pkgs.linuxPackages_latest;
};
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
}