2024-07-05 02:43:33 +05:30
|
|
|
{ lib, ... }: {
|
2024-06-29 23:30:15 +05:30
|
|
|
imports = [ ./filesystem.nix ];
|
2024-06-25 00:23:05 +05:30
|
|
|
|
2024-06-29 01:08:28 +05:30
|
|
|
boot = {
|
2024-06-29 23:30:15 +05:30
|
|
|
consoleLogLevel = 3;
|
|
|
|
initrd = {
|
|
|
|
systemd.enable = true;
|
|
|
|
};
|
|
|
|
kernel.sysctl = {
|
|
|
|
"vm.swappiness" = 10;
|
|
|
|
"vm.dirty_ratio" = 3;
|
|
|
|
};
|
2024-06-29 01:08:28 +05:30
|
|
|
loader = {
|
|
|
|
efi.canTouchEfiVariables = true;
|
2024-07-05 00:45:04 +05:30
|
|
|
systemd-boot = {
|
|
|
|
enable = true;
|
|
|
|
configurationLimit = 15;
|
|
|
|
};
|
2024-06-25 00:23:05 +05:30
|
|
|
};
|
|
|
|
};
|
2024-06-29 23:30:15 +05:30
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
2024-06-25 00:23:05 +05:30
|
|
|
}
|