nixos/grub: Add another example for extraEntries

Someone on IRC wanted to boot Fedora from another disk. While I'm not
too familiar with UEFI booting in conjunction with GRUB2 it took some
time to get it to work.

So in order to safe others from frustration I'm adding this as another
example to the extraEntries option.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>

aszlig 72f2b506 bd47d042

+6
+6
nixos/modules/system/boot/loader/grub/grub.nix
··· 239 239 menuentry "Windows 7" { 240 240 chainloader (hd0,4)+1 241 241 } 242 + 243 + # GRUB 2 with UEFI example, chainloading another distro 244 + menuentry "Fedora" { 245 + set root=(hd1,1) 246 + chainloader /efi/fedora/grubx64.efi 247 + } 242 248 ''; 243 249 description = '' 244 250 Any additional entries you want added to the GRUB boot menu.