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
declared in: nixos/modules/system/boot/loader/grub/grub.nixView source on NixOS/nixpkgs →"root (hd0)"