about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-08-12 16:57:40 +0900
committersefidel <contact@sefidel.net>2023-08-12 16:57:40 +0900
commit4a64199a6a93c547b364615df9782c3d374baac2 (patch)
tree6ca4c51502f58b07e991a659e939c412d34a8f5e
parent80bfbd016a3de93432632decff060377d5b72a95 (diff)
downloadnixrc-4a64199a6a93c547b364615df9782c3d374baac2.tar.gz
nixrc-4a64199a6a93c547b364615df9782c3d374baac2.zip
feat(nixos/alpha): prevent cursors from disappearing on nouveau
-rw-r--r--nixos/alpha/configuration.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix
index 8696013..2e9251b 100644
--- a/nixos/alpha/configuration.nix
+++ b/nixos/alpha/configuration.nix
@@ -240,6 +240,10 @@
     zsh.enableCompletion = false;
   };
 
+  environment.sessionVariables = {
+    WLR_NO_HARDWARE_CURSORS = "1"; # Prevent cursors disappearing on nouveau
+  };
+
   hardware.opengl.enable = true;
   hardware.opengl.driSupport = true;
   hardware.opengl.driSupport32Bit = true;