From 7938c1613d04dd4d0ce1e6fd6a8e92da29253c62 Mon Sep 17 00:00:00 2001 From: Wout Mertens Date: Thu, 13 Jun 2019 17:58:08 +0200 Subject: kernel.nix: boot.vesa implies nomodeset Without nomodeset the console is reset to 80x25 after Grub --- nixos/modules/system/boot/kernel.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules/system') diff --git a/nixos/modules/system/boot/kernel.nix b/nixos/modules/system/boot/kernel.nix index ab919099d112..ee43fe100238 100644 --- a/nixos/modules/system/boot/kernel.nix +++ b/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; -- cgit 1.4.1