2024-06-25 00:23:05 +05:30
|
|
|
{ lib
|
2024-06-29 01:08:28 +05:30
|
|
|
, pkgs
|
2024-06-25 00:23:05 +05:30
|
|
|
, ...
|
|
|
|
}: {
|
2024-06-29 01:08:28 +05:30
|
|
|
boot = {
|
|
|
|
consoleLogLevel = 3;
|
|
|
|
kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
|
|
|
|
kernel.sysctl = {
|
|
|
|
"vm.swappiness" = 10;
|
|
|
|
"vm.dirty_ratio" = 3;
|
|
|
|
};
|
|
|
|
initrd = {
|
|
|
|
availableKernelModules = ["xhci_pci"];
|
|
|
|
systemd.enable = true;
|
|
|
|
};
|
|
|
|
};
|
2024-06-25 00:23:05 +05:30
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
|
|
|
}
|