Skip to content

Commit 7938c16

Browse files
authoredJun 13, 2019
kernel.nix: boot.vesa implies nomodeset
Without nomodeset the console is reset to 80x25 after Grub
1 parent b6e10d7 commit 7938c16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎nixos/modules/system/boot/kernel.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ in
196196
# (so you don't need to reboot to have changes take effect).
197197
boot.kernelParams =
198198
[ "loglevel=${toString config.boot.consoleLogLevel}" ] ++
199-
optionals config.boot.vesa [ "vga=0x317" ];
199+
optionals config.boot.vesa [ "vga=0x317" "nomodeset" ];
200200

201201
boot.kernel.sysctl."kernel.printk" = mkDefault config.boot.consoleLogLevel;
202202

0 commit comments

Comments
 (0)
Please sign in to comment.