From d2f0dce97bbcda8c9600027b24a5d3c3a7405eaf Mon Sep 17 00:00:00 2001 From: Ulrik Strid Date: Wed, 5 Apr 2023 16:56:09 +0200 Subject: [PATCH] Lenovo legion 7i 16ithg6: add hidpi settings --- lenovo/legion/16ithg6/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lenovo/legion/16ithg6/default.nix b/lenovo/legion/16ithg6/default.nix index e0dca1e..e26461d 100644 --- a/lenovo/legion/16ithg6/default.nix +++ b/lenovo/legion/16ithg6/default.nix @@ -6,6 +6,7 @@ ../../../common/gpu/nvidia/prime.nix ../../../common/pc/laptop ../../../common/pc/laptop/ssd + ../../../common/hidpi.nix ]; # Specify bus id of Nvidia and Intel graphics. @@ -16,4 +17,7 @@ # Cooling management services.thermald.enable = lib.mkDefault true; + + # √(2560² + 1600²) px / 16 in ≃ 189 dpi + services.xserver.dpi = 189; }