{ pkgs, ... }: { boot = { loader.systemd-boot.enable = true; loader.efi.canTouchEfiVariables = true; loader.systemd-boot.configurationLimit = 10; kernelPackages = pkgs.linuxPackages_latest; tmp.useTmpfs = true; kernel.sysctl = { "vm.max_map_count" = 262144; }; binfmt.emulatedSystems = [ "aarch64-linux" ]; }; environment.systemPackages = with pkgs; [ efibootmgr ]; }