nixos/iso-image: Tear down GOP and rely on console for Linux boot

This solves an issue where *some systems* (tested on Steam Deck) the EFI
GOP may be broken during stage-1.
This commit is contained in:
Samuel Dionne-Riel 2023-08-14 17:35:47 -04:00
parent 47ae07a23f
commit 07fb2f4a97

View File

@ -24,6 +24,9 @@ let
# Name appended to menuentry defaults to params if no specific name given.
option.name or (optionalString (option ? params) "(${option.params})")
}' ${optionalString (option ? class) " --class ${option.class}"} {
# Fallback to UEFI console for boot, efifb sometimes has difficulties.
terminal_output console
linux ${defaults.image} \''${isoboot} ${defaults.params} ${
option.params or ""
}