diff --git a/flake.nix b/flake.nix index eee2f88..cb25ac9 100644 --- a/flake.nix +++ b/flake.nix @@ -258,7 +258,7 @@ cuda-prime = ls [ ./hardware/gpu/cuda.nix hw.common-gpu-nvidia ]; rocm = ls [ ./hardware/gpu/rocm.nix hw.common-gpu-amd ]; nspawn = ls [ "${nixos-nspawn}/nspawn-image.nix" { boot.isContainer = true; } ]; - hidpi = hw.common-hidpi; + hidpi = ls [ hw.common-hidpi ./profiles/hidpi.nix ]; p1005 = ./hardware/printer/hp-laserjet-p1005.nix; au = ./profiles/auto-upgrade.nix; ts = ./profiles/tailscale.nix; diff --git a/profiles/hidpi.nix b/profiles/hidpi.nix new file mode 100644 index 0000000..d0ec06a --- /dev/null +++ b/profiles/hidpi.nix @@ -0,0 +1,9 @@ +{ + environment.variables = { + # better fonts: + # https://web.archive.org/web/20230921201835/https://old.reddit.com/r/linux_gaming/comments/16lwgnj/is_it_possible_to_improve_font_rendering_on_linux/ + # via + # https://github.com/samemrecebi + FREETYPE_PROPERTIES = "cff:no-stem-darkening=0 autofitter:no-stem-darkening=0"; + }; +}