From 2b5d59cbdc86731f0f4c85a9c21e1498e61e8bd5 Mon Sep 17 00:00:00 2001 From: Puck Meerburg Date: Sun, 17 May 2020 17:30:11 +0000 Subject: linux: Enable fbcon deferred takeover when possible This config value ensures that when booting through e.g. UEFI, the existing framebuffer contents stay put until the first character is printed. As the default NixOS stage-1 immediately outputs a welcome message on init, this does not impact it, but it will allow for a cleaner boot when configured as such. --- pkgs/os-specific/linux/kernel/common-config.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'pkgs/os-specific/linux/kernel') diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 636d174b1551..c715c7baf787 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -219,6 +219,7 @@ let FB_3DFX_ACCEL = yes; FB_VESA = yes; FRAMEBUFFER_CONSOLE = yes; + FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER = whenAtLeast "4.19" yes; FRAMEBUFFER_CONSOLE_ROTATION = yes; FB_GEODE = mkIf (stdenv.hostPlatform.system == "i686-linux") yes; }; -- cgit 1.4.1