{ pkgs, lib, ... }: { boot.loader = { systemd-boot.enable = false; efi.canTouchEfiVariables = true; grub = { enable = true; efiSupport = true; mirroredBoots = [ { devices = ["nodev"]; path = "/boot/1"; efiSysMountPoint = "/boot/1/EFI"; } ]; }; }; }