summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Keller <tjkeller.xyz>2025-05-27 18:22:30 -0500
committerTim Keller <tjkeller.xyz>2025-05-27 18:22:30 -0500
commit5a7c879966d1dd9575b4dbc614c8a8377bb80244 (patch)
treee80335313b25d8f7c04208212734df3fc6a55196
parentaa54f0512a467c6411adb4895a04bc82654d7b81 (diff)
downloadnixos-5a7c879966d1dd9575b4dbc614c8a8377bb80244.tar.xz
nixos-5a7c879966d1dd9575b4dbc614c8a8377bb80244.zip
enable tearfree in x11 conf
-rw-r--r--modules/root/x11.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/root/x11.nix b/modules/root/x11.nix
index 7311cba..72816a9 100644
--- a/modules/root/x11.nix
+++ b/modules/root/x11.nix
@@ -26,5 +26,11 @@
# ];
#}))
];
+
+ # Enable TearFree option by default
+ # Not all video drivers support this option
+ services.xserver.deviceSection = ''
+ Option "TearFree" "true"
+ '';
};
}