2022-08-14 10:45:17 +03:00
|
|
|
{pkgs, ...}: {
|
|
|
|
boot = {
|
2023-09-10 21:40:39 +03:00
|
|
|
tmp.useTmpfs = true;
|
2022-08-14 10:45:17 +03:00
|
|
|
loader = {
|
|
|
|
efi.canTouchEfiVariables = true;
|
|
|
|
systemd-boot.enable = true;
|
|
|
|
systemd-boot.configurationLimit = 10;
|
|
|
|
};
|
2023-09-10 21:40:39 +03:00
|
|
|
kernelPackages = pkgs.linuxPackages_zen;
|
2022-08-14 10:45:17 +03:00
|
|
|
supportedFilesystems = ["f2fs"];
|
|
|
|
initrd = {
|
|
|
|
availableKernelModules = [
|
|
|
|
"nvme"
|
|
|
|
"xhci_pci"
|
|
|
|
"ahci"
|
|
|
|
"usb_storage"
|
|
|
|
"usbhid"
|
|
|
|
"sd_mod"
|
|
|
|
];
|
|
|
|
kernelModules = ["amdgpu"];
|
|
|
|
};
|
|
|
|
kernelModules = ["kvm-amd"];
|
|
|
|
extraModulePackages = [];
|
|
|
|
kernel.sysctl = {"fs.inotify.max_user_watches" = 524288;};
|
|
|
|
};
|
|
|
|
}
|