git.iko.soy/typeable/nixpkgs
on master help sign in
kernel.nix: boot.vesa implies nomodeset

Without nomodeset the console is reset to 80x25 after Grub

commit7938c1613d04dd4d0ce1e6fd6a8e92da29253c62 authorWout Mertens <Wout.Mertens@gmail.com> dateThu 13 Jun 2019, 17:58 (7 years ago) parentb6e10d7
1 file changed+1−1
nixos/modules/system/boot/kernel.nix+1−1
nixos/modules/system/boot/kernel.nix+1−1
@@ -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