virtualisation.bootPartition
The path (inside the VM) to the device containing the EFI System Partition (ESP).
If you are not booting from a UEFI firmware, this value is, by
default, null. The ESP is mounted to boot.loader.efi.efiSysMountpoint.
- Type
null or absolute path- Default
if cfg.useEFIBoot then "/dev/disk/by-label/ESP" else if cfg.useBIOSBoot then "/dev/disk/by-label/BOOT" else null- Example
"/dev/disk/by-label/esp"- Declared
- <nixpkgs/nixos/modules/virtualisation/qemu-vm.nix>