Skip to content

Commit

Permalink
kernel.nix: boot.vesa implies nomodeset
Browse files Browse the repository at this point in the history
Without nomodeset the console is reset to 80x25 after Grub
  • Loading branch information
wmertens committed Jun 13, 2019
1 parent b6e10d7 commit 7938c16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/system/boot/kernel.nix
Expand Up @@ -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;

Expand Down

0 comments on commit 7938c16

Please sign in to comment.