summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorAlan Pearce2018-01-07 18:58:20 +0100
committerAlan Pearce2018-01-07 18:58:20 +0100
commit16faf2dfe1adc3ace279df372b5b28a33ad71e65 (patch)
treeb62da75bd6b02edd424da8bf921ff067bbbca9f7 /modules
parent4abe538715e30c666643115916b2431a0999a4c8 (diff)
downloadnixos-configuration-16faf2dfe1adc3ace279df372b5b28a33ad71e65.tar.lz
nixos-configuration-16faf2dfe1adc3ace279df372b5b28a33ad71e65.tar.zst
nixos-configuration-16faf2dfe1adc3ace279df372b5b28a33ad71e65.zip
t470s: Add a monitor section to try to help with hanging after idle
Diffstat (limited to 'modules')
-rw-r--r--modules/machines/t470s.nix9
1 files changed, 9 insertions, 0 deletions
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
   ];