nixos-hardware/lenovo/thinkpad/x1/6th-gen/QHD/default.nix

19 lines
341 B
Nix
Raw Normal View History

2018-05-31 09:56:43 -04:00
# X1 6th generation with a QHD (2560x1440px) display
{ config, lib, ... }:
2018-05-31 09:56:43 -04:00
{
imports = [
../.
];
2018-06-02 19:33:37 -04:00
# Fix font sizes in X
2018-05-31 09:56:43 -04:00
services.xserver.dpi = 210;
fonts.fontconfig.dpi = 210;
# Fix sizes of GTK/GNOME ui elements
environment.variables = {
GDK_SCALE = lib.mkDefault "2";
GDK_DPI_SCALE= lib.mkDefault "0.5";
};
2018-05-31 09:56:43 -04:00
}