about summary refs log tree commit diff
path: root/desktop.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-01-04T22·22+0100
committerVincent Ambo <tazjin@gmail.com>2018-01-04T22·22+0100
commit5fd46c706209bb01671fd27577168d3ddda169a1 (patch)
tree0868e2269c67a944356cfe3497575412e49743b0 /desktop.nix
parent50785da62dcd858523a68dc50a7fd6df7fce08c5 (diff)
feat(desktop): Re-enable Compton
Diffstat (limited to 'desktop.nix')
-rw-r--r--desktop.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop.nix b/desktop.nix
index 12149a0728..2ea6cf6235 100644
--- a/desktop.nix
+++ b/desktop.nix
@@ -14,6 +14,11 @@ in {
     displayManager.sessionCommands = "${pkgs.xorg.xhost}/bin/xhost +SI:localuser:$USER";
   };
 
+
+  # Apparently when you have house guests they complain about your screen tearing!
+  services.compton.enable = true;
+  services.compton.backend = "xrender";
+
   # Configure desktop environment:
   services.xserver.windowManager.session = lib.singleton {
     name = "exwm";