Heads

A minimal Linux that runs as a coreboot or LinuxBoot ROM payload to provide a secure, flexible boot environment for laptops, workstations and servers.

This project is funded by NLnet through these subgrants:

Options

programs.heads
programs.heads.boards

Heads board targets that should be built & symlinked.

Note: Using this option, you can specify boards that aren't currently provided or tested by NGIpkgs. This will cause a heavy build process to run on your system, which may end in a build failure.

Type:
list of string
Default:
[ "qemu-coreboot-fbwhiptail-tpm1-hotp" ]
programs.heads.enable

Whether to enable symlinking of the selected Heads boards' ROMs under /etc/heads/${board}.rom.

Type:
boolean
Default:
false

Examples

Builds heads for the example qemu-coreboot-fbwhiptail-tpm1-hotp board, and makes the ROM image available at a fixed location, for testing it in a VM.
{ ... }:
{
  programs.heads = {
    enable = true;
    boards = [ "qemu-coreboot-fbwhiptail-tpm1-hotp" ];
    # The ROM image will be symlinked under /etc/heads/qemu-coreboot-fbwhiptail-tpm1-hotp.rom
  };
}