3
0
Fork 0
forked from mirrors/nixpkgs

nixos/hidpi: Disable anti-aliasing

Per the documentation:
> At high resolution (> 200 DPI), antialiasing has no visible effect;
> users of such displays may want to disable this option.
This commit is contained in:
nicoo 2022-10-05 16:06:12 +02:00
parent dcc47fef8b
commit f03716715f

View file

@ -12,8 +12,8 @@ with lib;
boot.loader.systemd-boot.consoleMode = mkDefault "1";
# Grayscale anti-aliasing for fonts
fonts.fontconfig.antialias = mkDefault true;
# Disable font anti-aliasing & sub-pixel rendering by default
fonts.fontconfig.antialias = mkDefault false;
fonts.fontconfig.subpixel = {
rgba = mkDefault "none";
lcdfilter = mkDefault "none";