{pkgs, ... }: { boot.loader.grub.enable = true; boot.loader.grub.version = 2; boot.loader.grub.efiSupport = true; boot.loader.grub.efiInstallAsRemovable = true; boot.loader.grub.useOSProber = true; boot.loader.efi.efiSysMountPoint = "/boot"; boot.loader.grub.device = "nodev"; }