boot.loader.grub.device

NixOS option

The device on which the GRUB boot loader will be installed. The special value nodev means that a GRUB boot menu will be generated, but GRUB itself will not actually be installed. To install GRUB on multiple devices, use boot.loader.grub.devices.

type: string
Default
""
Example
"/dev/disk/by-id/wwn-0x500001234567890a"
declared in: nixos/modules/system/boot/loader/grub/grub.nixView source on NixOS/nixpkgs →