1 2 3 4 5 6 7 8 9 10
{ ... }: { boot = { loader.grub.enable = true; loader.grub.version = 2; loader.grub.device = "/dev/sda"; loader.grub.efiSupport = true; }; }