summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorAlan Pearce2020-04-06 12:12:59 +0200
committerAlan Pearce2020-04-06 12:12:59 +0200
commit25975c5d2ad63ef95a024ab83dd57af6870e835d (patch)
treec59ab4287e901abafc63c8d47f66e7a31c863f86 /system
parent369e2da97b79ada5e77cda94d4eb894b7725f132 (diff)
downloadnixfiles-25975c5d2ad63ef95a024ab83dd57af6870e835d.tar.lz
nixfiles-25975c5d2ad63ef95a024ab83dd57af6870e835d.tar.zst
nixfiles-25975c5d2ad63ef95a024ab83dd57af6870e835d.zip
prefect: fix screen tearing
Diffstat (limited to 'system')
-rw-r--r--system/prefect.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/system/prefect.nix b/system/prefect.nix
index 8ce6c83e..f45e33c0 100644
--- a/system/prefect.nix
+++ b/system/prefect.nix
@@ -30,7 +30,9 @@
   ];
   boot.loader.efi.canTouchEfiVariables = pkgs.lib.mkForce false;
   services.xserver.screenSection = ''
-    Option "MetaModes" "2560x1440_120"
+    Option "MetaModes" "2560x1440_120 +0+0 { ForceFullCompositionPipeline = On }"
+    Option "AllowIndirectGLXProtocol" "off"
+    Option "TripleBuffer" "on"
   '';
 
   services.xserver = {