boot.loader.grub.default

NixOS option

Index of the default menu item to be booted. Can also be set to “saved”, which will make GRUB select the menu item that was used at the last boot.

type: signed integer or string
Default
"0"
declared in: nixos/modules/system/boot/loader/grub/grub.nixView source on NixOS/nixpkgs →