boot.loader.grub.extraFiles

A set of files to be copied to /boot. Each attribute name denotes the destination file name in /boot, while the corresponding attribute value specifies the source file.

Type
attribute set of absolute path
Default
{ }
Example
{ "memtest.bin" = pkgs.memtest86plus.efi; }
Declared
<nixpkgs/nixos/modules/system/boot/loader/grub/grub.nix>