From 16faf2dfe1adc3ace279df372b5b28a33ad71e65 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 7 Jan 2018 18:58:20 +0100 Subject: t470s: Add a monitor section to try to help with hanging after idle --- modules/machines/t470s.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/machines/t470s.nix b/modules/machines/t470s.nix index 30d304e..d9bca7c 100644 --- a/modules/machines/t470s.nix +++ b/modules/machines/t470s.nix @@ -16,6 +16,15 @@ Option "AccelMethod" "uxa" ''; + services.xserver.monitorSection = '' + DisplaySize 310 176 + + Option "StandbyTime" "0" + Option "SuspendTime" "300" + Option "OffTime" "600" + Option "BlankTime" "0" + ''; + environment.systemPackages = with pkgs; [ nvme-cli ]; -- cgit 1.4.1