boot.loader.systemd-boot.extraEntries
NixOS option
Any additional entries you want added to the systemd-boot menu. These entries will be copied to $BOOT/loader/entries. Each attribute name denotes the destination file name, and the corresponding attribute value is the contents of the entry. To control the ordering of the entry in the boot menu, use the sort-key field, see https://uapi-group.org/specifications/specs/boot_loader_specification/#sorting and boot.loader.systemd-boot.sortKey.
type: attribute set of strings concatenated with "\n"Default
{ }Example
declared in: nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nixView source on NixOS/nixpkgs →{ "memtest86.conf" = ''
title Memtest86+
efi /efi/memtest86/memtest.efi
sort-key z_memtest
''; }