{ lib, ... }: { imports = [ ]; # UEFI works here, and variables can be touched boot.loader = { efi.canTouchEfiVariables = lib.mkDefault true; grub = { enable = true; efiSupport = true; }; }; }