kernel.nix: boot.vesa implies nomodeset

Without nomodeset the console is reset to 80x25 after Grub
wip/yesman
Wout Mertens 5 years ago committed by GitHub
parent b6e10d79e9
commit 7938c1613d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      nixos/modules/system/boot/kernel.nix

@ -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;

Loading…
Cancel
Save