all repos — nixfiles @ 16faf2dfe1adc3ace279df372b5b28a33ad71e65

System and user configuration, managed by nix and home-manager

t470s: Add a monitor section to try to help with hanging after idle
Alan Pearce alan@alanpearce.eu
Sun, 07 Jan 2018 18:58:20 +0100
commit

16faf2dfe1adc3ace279df372b5b28a33ad71e65

parent

4abe538715e30c666643115916b2431a0999a4c8

1 files changed, 9 insertions(+), 0 deletions(-)

jump to
M modules/machines/t470s.nixmodules/machines/t470s.nix
@@ -16,6 +16,15 @@ services.xserver.deviceSection = ''     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
   ];