From fc65af6a746ca0d9b219775655f8ed4c079caa99 Mon Sep 17 00:00:00 2001 From: nicoo Date: Wed, 5 Oct 2022 16:11:48 +0200 Subject: nixos/hidpi: Minor refactor --- nixos/modules/hardware/video/hidpi.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'nixos/modules/hardware') 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 }; -- cgit 1.4.1