ark/hosts/tkaronto/modules/boot.nix
2022-08-14 10:45:17 +03:00

27 lines
609 B
Nix

{pkgs, ...}: {
boot = {
tmpOnTmpfs = true;
loader = {
efi.canTouchEfiVariables = true;
systemd-boot.enable = true;
systemd-boot.configurationLimit = 10;
};
kernelPackages = pkgs.linuxPackages_latest;
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;};
};
}