1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-27 05:19:43 +01:00

fix(framework): Follow x1 QHD settings

This commit is contained in:
Edmund Miller 2022-02-04 10:06:29 -06:00
parent f7244a341f
commit 4a7e3d64f4
No known key found for this signature in database
GPG key ID: BD387FF7BC10AA9D

View file

@ -17,11 +17,16 @@
services.fprintd.enable = true; services.fprintd.enable = true;
# HiDPI # HiDPI
hardware.video.hidpi.enable = lib.mkDefault true; # Leaving here for documentation
# hardware.video.hidpi.enable = lib.mkDefault true;
# Fix font sizes in X
services.xserver.dpi = 200; services.xserver.dpi = 200;
fonts.fontconfig.dpi = 200;
# Fix sizes of GTK/GNOME ui elements
environment.variables = { environment.variables = {
GDK_SCALE = "2"; GDK_SCALE = lib.mkDefault "2";
GDK_DPI_SCALE = "0.5"; GDK_DPI_SCALE = lib.mkDefault "0.5";
_JAVA_OPTIONS = "-Dsun.java2d.uiScale=2";
}; };
} }