mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
kernel.nix: boot.vesa implies nomodeset
Without nomodeset the console is reset to 80x25 after Grub
This commit is contained in:
parent
b6e10d79e9
commit
7938c1613d
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ in
|
||||||
# (so you don't need to reboot to have changes take effect).
|
# (so you don't need to reboot to have changes take effect).
|
||||||
boot.kernelParams =
|
boot.kernelParams =
|
||||||
[ "loglevel=${toString config.boot.consoleLogLevel}" ] ++
|
[ "loglevel=${toString config.boot.consoleLogLevel}" ] ++
|
||||||
optionals config.boot.vesa [ "vga=0x317" ];
|
optionals config.boot.vesa [ "vga=0x317" "nomodeset" ];
|
||||||
|
|
||||||
boot.kernel.sysctl."kernel.printk" = mkDefault config.boot.consoleLogLevel;
|
boot.kernel.sysctl."kernel.printk" = mkDefault config.boot.consoleLogLevel;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue