diff options
author | nicoo <nicoo@mur.at> | 2022-10-05 16:11:48 +0200 |
---|---|---|
committer | nicoo <nicoo@mur.at> | 2023-03-03 12:42:55 +0000 |
commit | fc65af6a746ca0d9b219775655f8ed4c079caa99 (patch) | |
tree | ea7f816aede2493fb62a13815cfcfa2092415bc5 /nixos/modules | |
parent | e1220cf121328e2f851a0a8458a2891d07361a60 (diff) |
nixos/hidpi: Minor refactor
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/hardware/video/hidpi.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/nixos/modules/hardware/video/hidpi.nix b/nixos/modules/hardware/video/hidpi.nix index f907d0a4706e5..c48d1dbe18eb8 100644 --- a/nixos/modules/hardware/video/hidpi.nix +++ b/nixos/modules/hardware/video/hidpi.nix @@ -13,9 +13,11 @@ with lib; # 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.lcdfilter = mkDefault "none"; + fonts.fontconfig = { + antialias = mkDefault false; + hinting.enable = mkDefault false; + subpixel.lcdfilter = mkDefault "none"; + }; # TODO Find reasonable defaults X11 & wayland }; |