We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
isoImage.grubTheme = null;
1 parent 09913b8 commit b5168a9Copy full SHA for b5168a9
nixos/modules/installer/cd-dvd/iso-image.nix
@@ -335,12 +335,14 @@ let
335
set textmode=true
336
terminal_output console
337
}
338
+
339
+ ${lib.optionalString (config.isoImage.grubTheme != null) ''
340
hiddenentry 'GUI mode' --hotkey 'g' {
341
$(find ${config.isoImage.grubTheme} -iname '*.pf2' -printf "loadfont (\$root)/EFI/BOOT/grub-theme/%P\n")
342
set textmode=false
343
terminal_output gfxterm
344
-
345
+ ''}
346
347
# If the parameter iso_path is set, append the findiso parameter to the kernel
348
# line. We need this to allow the nixos iso to be booted from grub directly.
0 commit comments