mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-09 12:05:50 +03:00
systemd-boot: Add option for consoleMode to support SteamDeck (#340597)
This commit is contained in:
commit
12f0b2ff82
1 changed files with 2 additions and 1 deletions
|
@ -216,7 +216,7 @@ in {
|
||||||
consoleMode = mkOption {
|
consoleMode = mkOption {
|
||||||
default = "keep";
|
default = "keep";
|
||||||
|
|
||||||
type = types.enum [ "0" "1" "2" "auto" "max" "keep" ];
|
type = types.enum [ "0" "1" "2" "5" "auto" "max" "keep" ];
|
||||||
|
|
||||||
description = ''
|
description = ''
|
||||||
The resolution of the console. The following values are valid:
|
The resolution of the console. The following values are valid:
|
||||||
|
@ -224,6 +224,7 @@ in {
|
||||||
- `"0"`: Standard UEFI 80x25 mode
|
- `"0"`: Standard UEFI 80x25 mode
|
||||||
- `"1"`: 80x50 mode, not supported by all devices
|
- `"1"`: 80x50 mode, not supported by all devices
|
||||||
- `"2"`: The first non-standard mode provided by the device firmware, if any
|
- `"2"`: The first non-standard mode provided by the device firmware, if any
|
||||||
|
- `"5"`: Applicable for SteamDeck where this mode represent horizontal mode
|
||||||
- `"auto"`: Pick a suitable mode automatically using heuristics
|
- `"auto"`: Pick a suitable mode automatically using heuristics
|
||||||
- `"max"`: Pick the highest-numbered available mode
|
- `"max"`: Pick the highest-numbered available mode
|
||||||
- `"keep"`: Keep the mode selected by firmware (the default)
|
- `"keep"`: Keep the mode selected by firmware (the default)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue