1
0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-06-13 08:13:38 +02:00

Set a default to fix GTK/GNOME ui elements appareance

This commit is contained in:
Alberto Berti 2018-06-03 01:55:59 +02:00
parent b132065a43
commit 32a7893b8c

View File

@ -1,11 +1,18 @@
# X1 6th generation with a QHD (2560x1440px) display # X1 6th generation with a QHD (2560x1440px) display
{ config, ... }: { config, lib, ... }:
{ {
imports = [ imports = [
../. ../.
]; ];
# Fix font sizes in X # Fix font sizes in X
services.xserver.dpi = 210; services.xserver.dpi = 210;
fonts.fontconfig.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";
};
} }