{pkgs, ...}: { boot = { tmp.cleanOnBoot = true; loader = { grub = { enable = true; device = "nodev"; useOSProber = true; efiSupport = true; memtest86.enable = true; }; efi = { canTouchEfiVariables = true; efiSysMountPoint = "/boot/efi"; }; }; kernelPackages = pkgs.linuxKernel.packages.linux_zen; }; }