summary refs log tree commit diff stats
path: root/modules/machines
diff options
context:
space:
mode:
authorAlan Pearce2017-12-21 21:09:52 +0100
committerAlan Pearce2017-12-21 21:09:52 +0100
commit9f2a5c1a47674015a5252ee07d09bec2a627045e (patch)
tree023b69ac034686aee70a959660171c7372bc9300 /modules/machines
parent2656b3860b57bf3d4524049238f62aad7860fcf7 (diff)
downloadnixos-configuration-9f2a5c1a47674015a5252ee07d09bec2a627045e.tar.lz
nixos-configuration-9f2a5c1a47674015a5252ee07d09bec2a627045e.tar.zst
nixos-configuration-9f2a5c1a47674015a5252ee07d09bec2a627045e.zip
t470s: Use alternative X acceleration method
Diffstat (limited to 'modules/machines')
-rw-r--r--modules/machines/t470s.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/machines/t470s.nix b/modules/machines/t470s.nix
index 16ae3bb..30d304e 100644
--- a/modules/machines/t470s.nix
+++ b/modules/machines/t470s.nix
@@ -11,6 +11,11 @@
     load-module module-alsa-sink device=hw:0,7
   '';
 
+  # Try a different acceleration method; maybe it helps with screen corruption
+  services.xserver.deviceSection = ''
+    Option      "AccelMethod"  "uxa"
+  '';
+
   environment.systemPackages = with pkgs; [
     nvme-cli
   ];