3
0
Fork 0
forked from mirrors/nixpkgs

kernel.nix: boot.vesa implies nomodeset

Without nomodeset the console is reset to 80x25 after Grub
This commit is contained in:
Wout Mertens 2019-06-13 17:58:08 +02:00 committed by GitHub
parent b6e10d79e9
commit 7938c1613d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -196,7 +196,7 @@ in
# (so you don't need to reboot to have changes take effect).
boot.kernelParams =
[ "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;