about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorWout Mertens <Wout.Mertens@gmail.com>2019-06-13 17:58:08 +0200
committerGitHub <noreply@github.com>2019-06-13 17:58:08 +0200
commit7938c1613d04dd4d0ce1e6fd6a8e92da29253c62 (patch)
treebce118c19a1655374e1f47563e2017da57836ef7 /nixos
parentb6e10d79e96487b412ae8a8db5d1bff1b2b58646 (diff)
downloadnixlib-7938c1613d04dd4d0ce1e6fd6a8e92da29253c62.tar
nixlib-7938c1613d04dd4d0ce1e6fd6a8e92da29253c62.tar.gz
nixlib-7938c1613d04dd4d0ce1e6fd6a8e92da29253c62.tar.bz2
nixlib-7938c1613d04dd4d0ce1e6fd6a8e92da29253c62.tar.lz
nixlib-7938c1613d04dd4d0ce1e6fd6a8e92da29253c62.tar.xz
nixlib-7938c1613d04dd4d0ce1e6fd6a8e92da29253c62.tar.zst
nixlib-7938c1613d04dd4d0ce1e6fd6a8e92da29253c62.zip
kernel.nix: boot.vesa implies nomodeset
Without nomodeset the console is reset to 80x25 after Grub
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/system/boot/kernel.nix2
1 files changed, 1 insertions, 1 deletions
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;