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;
# 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;
fonts.fontconfig.dpi = 200;
# Fix sizes of GTK/GNOME ui elements
environment.variables = {
GDK_SCALE = "2";
GDK_DPI_SCALE = "0.5";
_JAVA_OPTIONS = "-Dsun.java2d.uiScale=2";
GDK_SCALE = lib.mkDefault "2";
GDK_DPI_SCALE = lib.mkDefault "0.5";
};
}