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:11:48 +0200
committernicoo <nicoo@mur.at>2023-03-03 12:42:55 +0000
commitfc65af6a746ca0d9b219775655f8ed4c079caa99 (patch)
treeea7f816aede2493fb62a13815cfcfa2092415bc5 /nixos/modules/hardware
parente1220cf121328e2f851a0a8458a2891d07361a60 (diff)
nixos/hidpi: Minor refactor
Diffstat (limited to 'nixos/modules/hardware')
-rw-r--r--nixos/modules/hardware/video/hidpi.nix8
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
   };