Merge pull request #157997 from kirelagin/grayscale-antialiasing

hidpi: Use gray-scale antialiasing for fonts
This commit is contained in:
Christian Kögler 2022-08-19 10:37:30 +02:00 committed by GitHub
commit b055aadc3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
};
}