summary refs log tree commit diff stats
path: root/system/settings/hardware
diff options
context:
space:
mode:
authorAlan Pearce2019-11-23 16:56:18 +0100
committerAlan Pearce2019-11-23 16:56:18 +0100
commit1a150e6e91372316317bd2c9665dd7b9849f2813 (patch)
tree34bcf4e70f771be49bc23609b688b9b83a1839e9 /system/settings/hardware
parent21fedc95280e015a3cc415e51d6607e5ca603ba8 (diff)
downloadnixfiles-1a150e6e91372316317bd2c9665dd7b9849f2813.tar.lz
nixfiles-1a150e6e91372316317bd2c9665dd7b9849f2813.tar.zst
nixfiles-1a150e6e91372316317bd2c9665dd7b9849f2813.zip
NVidia: run compton to avoid window sizing issues
Diffstat (limited to 'system/settings/hardware')
-rw-r--r--system/settings/hardware/nvidia-gpu.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/system/settings/hardware/nvidia-gpu.nix b/system/settings/hardware/nvidia-gpu.nix
index 9fc34169..0f99e73c 100644
--- a/system/settings/hardware/nvidia-gpu.nix
+++ b/system/settings/hardware/nvidia-gpu.nix
@@ -2,4 +2,7 @@
 
 { services.xserver.videoDrivers = [ "nvidia" ];
   nixpkgs.config.allowUnfree = true;
+  services.compton = {
+    enable = true;
+  };
 }