MyNixOS website logo
option

boot.loader.grub.extraEntries

Any additional entries you want added to the GRUB boot menu.

Declarations
Type
strings concatenated with "\n"
Default
""
Example
''
  # GRUB 2 example
  menuentry "Windows 7" {
    chainloader (hd0,4)+1
  }
  
  # GRUB 2 with UEFI example, chainloading another distro
  menuentry "Fedora" {
    set root=(hd1,1)
    chainloader /efi/fedora/grubx64.efi
  }
''