about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2017-10-16T16·12+0200
committerVincent Ambo <tazjin@gmail.com>2017-10-16T16·12+0200
commitbbd39eaf16af68a1c37db16efa3362dffffd71c9 (patch)
treeadb351a5abce2ea678813a832ba95a0ce142ef01
parent9e60dd04b3af0138aad91aac682fbeac6b452b0e (diff)
fix(compton): Set rendering backend to default 'xrender'
The 'glx' backend which NixOS defaults to causes strange screen
redrawing issues with multiple monitors.
-rw-r--r--configuration.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/configuration.nix b/configuration.nix
index d868a73eb247..df87c32aac3c 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -37,6 +37,7 @@ in {
   # Configure i3 & compositor
   services.xserver.windowManager.i3.enable = true;
   services.compton.enable = true;
+  services.compton.backend = "xrender";
 
   # Configure Redshift for Oslo
   services.redshift.enable = true;