enable subpixel rendering on acer

This commit is contained in:
2025-12-17 20:34:43 +01:00
parent 25b83140f4
commit 86dedc48fe
+23
View File
@@ -122,6 +122,29 @@ rec {
programs.corectrl.enable = true; programs.corectrl.enable = true;
hardware.amdgpu.overdrive.enable = true; hardware.amdgpu.overdrive.enable = true;
fonts = {
fontconfig = {
enable = true;
# Turn on antialiasing
antialias = true;
# Subpixel rendering tuned for your monitors
subpixel = {
rgba = "rgb"; # standard RGB stripe
lcdfilter = "default"; # or "light" if you want a bit thinner glyphs
};
# Hinting: helps a lot at ~9095 DPI like your 2425" monitors
hinting = {
enable = true;
style = "slight"; # try "full" if you want sharper / more “pixel-snapped”
autohint = false;
};
};
};
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave # on your system were taken. Its perfectly fine and recommended to leave