boot.loader.grub.extraConfig

NixOS option

Additional GRUB commands inserted in the configuration file just before the menu entries.

type: strings concatenated with "\n"
Default
""
Example
''
  serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
  terminal_input --append serial
  terminal_output --append serial
''
declared in: nixos/modules/system/boot/loader/grub/grub.nixView source on NixOS/nixpkgs →