diff options
author | Christian Kögler <ck3d@gmx.de> | 2022-08-19 10:37:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-19 10:37:30 +0200 |
commit | b055aadc3d69aa1183d4c88f904c6bda096c9ae5 (patch) | |
tree | 9de47cdaded5d813a6dee957a8884308575c4b44 /nixos/modules/hardware | |
parent | f99c37f463fbfcec612ee1491a1b0c4afab5e407 (diff) | |
parent | ad735b87e4607f535586b329d9030fbf6974f38b (diff) |
Merge pull request #157997 from kirelagin/grayscale-antialiasing
hidpi: Use gray-scale antialiasing for fonts
Diffstat (limited to 'nixos/modules/hardware')
-rw-r--r-- | nixos/modules/hardware/video/hidpi.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nixos/modules/hardware/video/hidpi.nix b/nixos/modules/hardware/video/hidpi.nix index ac72b652504ec..1cb4470f1b3a7 100644 --- a/nixos/modules/hardware/video/hidpi.nix +++ b/nixos/modules/hardware/video/hidpi.nix @@ -11,6 +11,14 @@ with lib; console.earlySetup = mkDefault true; boot.loader.systemd-boot.consoleMode = mkDefault "1"; + + # Grayscale anti-aliasing for fonts + fonts.fontconfig.antialias = mkDefault true; + fonts.fontconfig.subpixel = { + rgba = mkDefault "none"; + lcdfilter = mkDefault "none"; + }; + # TODO Find reasonable defaults X11 & wayland }; } |