diff options
author | Samuel Dionne-Riel <samuel@dionne-riel.com> | 2023-08-14 17:35:47 -0400 |
---|---|---|
committer | Samuel Dionne-Riel <samuel@dionne-riel.com> | 2023-09-06 14:09:02 -0400 |
commit | 07fb2f4a973765b5890b79316daf3ca4a4671862 (patch) | |
tree | 8571656307d8e8644d68a281afe40baea5ea1c6d /nixos/modules/installer/cd-dvd/iso-image.nix | |
parent | 47ae07a23fdea96595a50033d6a8bff9341ff9e4 (diff) | |
download | nixpkgs-07fb2f4a973765b5890b79316daf3ca4a4671862.tar nixpkgs-07fb2f4a973765b5890b79316daf3ca4a4671862.tar.gz nixpkgs-07fb2f4a973765b5890b79316daf3ca4a4671862.tar.bz2 nixpkgs-07fb2f4a973765b5890b79316daf3ca4a4671862.tar.lz nixpkgs-07fb2f4a973765b5890b79316daf3ca4a4671862.tar.xz nixpkgs-07fb2f4a973765b5890b79316daf3ca4a4671862.tar.zst nixpkgs-07fb2f4a973765b5890b79316daf3ca4a4671862.zip |
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.
Diffstat (limited to 'nixos/modules/installer/cd-dvd/iso-image.nix')
-rw-r--r-- | nixos/modules/installer/cd-dvd/iso-image.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/installer/cd-dvd/iso-image.nix b/nixos/modules/installer/cd-dvd/iso-image.nix index ee38d41982a..1c38e29aefa 100644 --- a/nixos/modules/installer/cd-dvd/iso-image.nix +++ b/nixos/modules/installer/cd-dvd/iso-image.nix @@ -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 "" } |