boot.loader.grub.fsIdentifier

NixOS option

Determines how GRUB will identify devices when generating the configuration file. A value of uuid / label signifies that grub will always resolve the uuid or label of the device before using it in the configuration. A value of provided means that GRUB will use the device name as show in df or mount. Note, zfs zpools / datasets are ignored and will always be mounted using their labels.

type: one of "uuid", "label", "provided"
Default
"uuid"
declared in: nixos/modules/system/boot/loader/grub/grub.nixView source on NixOS/nixpkgs →