From 1c9f2e4f79c747724ff30da7a7c836ff6c5a8025 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 28 Aug 2019 16:48:08 +0200 Subject: T470s: set DPI once --- modules/machines/t470s.nix | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'modules/machines') diff --git a/modules/machines/t470s.nix b/modules/machines/t470s.nix index c4a9286..e0b4942 100644 --- a/modules/machines/t470s.nix +++ b/modules/machines/t470s.nix @@ -43,14 +43,17 @@ # Option "TripleBuffer" "false" # ''; - services.xserver.monitorSection = '' - DisplaySize 310 176 + services.xserver = { + dpi = 109; + monitorSection = '' + DisplaySize 310 176 - Option "StandbyTime" "0" - Option "SuspendTime" "300" - Option "OffTime" "600" - Option "BlankTime" "0" - ''; + Option "StandbyTime" "0" + Option "SuspendTime" "300" + Option "OffTime" "600" + Option "BlankTime" "0" + ''; + }; environment.systemPackages = with pkgs; [ nvme-cli -- cgit 1.4.1