summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel/common-config.nix
diff options
context:
space:
mode:
authorPuck Meerburg <puck@puck.moe>2020-05-17 17:30:11 +0000
committerPuck Meerburg <puck@puckipedia.com>2020-05-17 17:43:34 +0000
commit2b5d59cbdc86731f0f4c85a9c21e1498e61e8bd5 (patch)
treee73970363e87d7ba1e91e0ae23760e0d00fe9786 /pkgs/os-specific/linux/kernel/common-config.nix
parent28c2c0156da98dbe553490f904da92ed436df134 (diff)
downloadnixpkgs-2b5d59cbdc86731f0f4c85a9c21e1498e61e8bd5.tar
nixpkgs-2b5d59cbdc86731f0f4c85a9c21e1498e61e8bd5.tar.gz
nixpkgs-2b5d59cbdc86731f0f4c85a9c21e1498e61e8bd5.tar.bz2
nixpkgs-2b5d59cbdc86731f0f4c85a9c21e1498e61e8bd5.tar.lz
nixpkgs-2b5d59cbdc86731f0f4c85a9c21e1498e61e8bd5.tar.xz
nixpkgs-2b5d59cbdc86731f0f4c85a9c21e1498e61e8bd5.tar.zst
nixpkgs-2b5d59cbdc86731f0f4c85a9c21e1498e61e8bd5.zip
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.
Diffstat (limited to 'pkgs/os-specific/linux/kernel/common-config.nix')
-rw-r--r--pkgs/os-specific/linux/kernel/common-config.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix
index 636d174b155..c715c7baf78 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;
     };