mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-26 21:09:42 +01:00
fix(framework): Follow x1 QHD settings
This commit is contained in:
parent
f7244a341f
commit
4a7e3d64f4
1 changed files with 9 additions and 4 deletions
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue