about summary refs log tree commit diff
path: root/nixos/modules/hardware
diff options
context:
space:
mode:
authornicoo <nicoo@mur.at>2022-10-05 16:07:22 +0200
committernicoo <nicoo@mur.at>2023-03-03 12:42:55 +0000
commitb2366655e2ee2b284f530509114bf873c1601973 (patch)
treeaaf566b3f0eea7dfa4ffd33f145438140d5f7a7d /nixos/modules/hardware
parentf03716715f663f1c45056b7df450cf1b7386181b (diff)
nixos/hidpi: Disable font hinting
Per the documentation:
> At high resolution (> 200 dpi) hinting will do nothing (at best);
> users of such displays may want to disable this option.
Diffstat (limited to 'nixos/modules/hardware')
-rw-r--r--nixos/modules/hardware/video/hidpi.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/hardware/video/hidpi.nix b/nixos/modules/hardware/video/hidpi.nix
index 8936b92230b2e..db325976e26c0 100644
--- a/nixos/modules/hardware/video/hidpi.nix
+++ b/nixos/modules/hardware/video/hidpi.nix
@@ -12,8 +12,9 @@ with lib;
     boot.loader.systemd-boot.consoleMode = mkDefault "1";
 
 
-    # Disable font anti-aliasing & sub-pixel rendering by default
+    # Disable font anti-aliasing, hinting, and sub-pixel rendering by default
     fonts.fontconfig.antialias = mkDefault false;
+    fonts.fontconfig.hinting.enable = mkDefault false;
     fonts.fontconfig.subpixel = {
       rgba = mkDefault "none";
       lcdfilter = mkDefault "none";