boot.loader.systemd-boot.windows
Make Windows bootable from systemd-boot. This option is not necessary when Windows and NixOS use the same EFI System Partition (ESP). In that case, Windows will automatically be detected by systemd-boot.
However, if Windows is installed on a separate drive or ESP, you can use this option to add a menu entry for each installation manually.
The attribute name is used for the title of the menu entry and internal file names.
- Type
attribute set of (submodule)- Default
{ }- Example
{ "10".efiDeviceHandle = "HD0c3"; "11-ame" = { title = "Windows 11 Ameliorated Edition"; efiDeviceHandle = "HD0b1"; }; "11-home" = { title = "Windows 11 Home"; efiDeviceHandle = "FS1"; sortKey = "z_windows"; }; }- Declared
- <nixpkgs/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix>