14 lines
467 B
Nix
14 lines
467 B
Nix
|
|
# Boot via coreboot's GRUB payload (e.g. libreboot default). The GRUB in the
|
||
|
|
# flash chip reads the grub.cfg that NixOS generates on disk, so GRUB here is
|
||
|
|
# config-only -- it is NOT installed to any disk MBR (`device = "nodev"`).
|
||
|
|
#
|
||
|
|
# Your coreboot grub.cfg must locate and load the on-disk config, e.g. search
|
||
|
|
# for and `configfile` /boot/grub/grub.cfg (or chainload the disk's GRUB).
|
||
|
|
{ ... }:
|
||
|
|
{
|
||
|
|
boot.loader.grub = {
|
||
|
|
enable = true;
|
||
|
|
device = "nodev";
|
||
|
|
};
|
||
|
|
}
|