diff options
author | Puck Meerburg <puck@puck.moe> | 2020-05-17 17:30:11 +0000 |
---|---|---|
committer | Puck Meerburg <puck@puckipedia.com> | 2020-05-17 17:43:34 +0000 |
commit | 2b5d59cbdc86731f0f4c85a9c21e1498e61e8bd5 (patch) | |
tree | e73970363e87d7ba1e91e0ae23760e0d00fe9786 /pkgs/os-specific/linux/kernel | |
parent | 28c2c0156da98dbe553490f904da92ed436df134 (diff) | |
download | nixlib-2b5d59cbdc86731f0f4c85a9c21e1498e61e8bd5.tar nixlib-2b5d59cbdc86731f0f4c85a9c21e1498e61e8bd5.tar.gz nixlib-2b5d59cbdc86731f0f4c85a9c21e1498e61e8bd5.tar.bz2 nixlib-2b5d59cbdc86731f0f4c85a9c21e1498e61e8bd5.tar.lz nixlib-2b5d59cbdc86731f0f4c85a9c21e1498e61e8bd5.tar.xz nixlib-2b5d59cbdc86731f0f4c85a9c21e1498e61e8bd5.tar.zst nixlib-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')
-rw-r--r-- | pkgs/os-specific/linux/kernel/common-config.nix | 1 |
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 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; }; |