diff options
author | novenary <streetwalkermc@gmail.com> | 2023-01-11 16:16:36 +0200 |
---|---|---|
committer | novenary <streetwalkermc@gmail.com> | 2023-01-24 11:01:57 +0200 |
commit | 7ffa701d74f047b8a1dab6d1e7c39e714c9e1013 (patch) | |
tree | a49df0259e5029308137e070b7fa394861a320f9 /pkgs/os-specific/linux/kernel/common-config.nix | |
parent | 3f84a01f07915bfac18c4e1ea641b2a3c9f6f61d (diff) | |
download | nixpkgs-7ffa701d74f047b8a1dab6d1e7c39e714c9e1013.tar nixpkgs-7ffa701d74f047b8a1dab6d1e7c39e714c9e1013.tar.gz nixpkgs-7ffa701d74f047b8a1dab6d1e7c39e714c9e1013.tar.bz2 nixpkgs-7ffa701d74f047b8a1dab6d1e7c39e714c9e1013.tar.lz nixpkgs-7ffa701d74f047b8a1dab6d1e7c39e714c9e1013.tar.xz nixpkgs-7ffa701d74f047b8a1dab6d1e7c39e714c9e1013.tar.zst nixpkgs-7ffa701d74f047b8a1dab6d1e7c39e714c9e1013.zip |
kernel: enable Terminus 16x32 font
This font was added into the kernel for high-resolution displays. It has been available since 5.0.
Diffstat (limited to 'pkgs/os-specific/linux/kernel/common-config.nix')
-rw-r--r-- | pkgs/os-specific/linux/kernel/common-config.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 2fee060932e..6a551811bbd 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -273,6 +273,15 @@ let DRM_SIMPLEDRM = whenAtLeast "5.14" no; }; + fonts = { + FONTS = yes; + # Default fonts enabled if FONTS is not set + FONT_8x8 = yes; + FONT_8x16 = yes; + # High DPI font + FONT_TER16x32 = whenAtLeast "5.0" yes; + }; + video = { DRM_LEGACY = no; NOUVEAU_LEGACY_CTX_SUPPORT = whenAtLeast "5.2" no; |