boot.loader.grub.extraPerEntryConfig

NixOS option

Additional GRUB commands inserted in the configuration file at the start of each NixOS menu entry.

type: strings concatenated with "\n"
Default
""
Example
"root (hd0)"
declared in: nixos/modules/system/boot/loader/grub/grub.nixView source on NixOS/nixpkgs →