From 28828c4e8fac928ef8db7a2d6e04915c7b949c54 Mon Sep 17 00:00:00 2001 From: Aaron Janse Date: Sun, 14 Mar 2021 00:06:28 -0800 Subject: [PATCH] nixos/hidpi: add xserver dpi --- nixos/modules/hardware/video/hidpi.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/hardware/video/hidpi.nix b/nixos/modules/hardware/video/hidpi.nix index ac72b652504e..c480cc481dfc 100644 --- a/nixos/modules/hardware/video/hidpi.nix +++ b/nixos/modules/hardware/video/hidpi.nix @@ -12,5 +12,6 @@ with lib; boot.loader.systemd-boot.consoleMode = mkDefault "1"; # TODO Find reasonable defaults X11 & wayland + services.xserver.dpi = lib.mkDefault 192; }; }