summaryrefslogtreecommitdiff
path: root/modules/variables/wlroots.nix
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-09-17 01:55:10 -0700
committerFuwn <[email protected]>2024-09-17 01:55:10 -0700
commitdf2e68dc0a8fa6a4d778513c6d67f2698cb04104 (patch)
tree93e6e9010db7c50ec409e68ca658b3b0e765f083 /modules/variables/wlroots.nix
parentusers: initial hashed password (diff)
downloadnixos-config-df2e68dc0a8fa6a4d778513c6d67f2698cb04104.tar.xz
nixos-config-df2e68dc0a8fa6a4d778513c6d67f2698cb04104.zip
modules: move variables
Diffstat (limited to 'modules/variables/wlroots.nix')
-rw-r--r--modules/variables/wlroots.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/variables/wlroots.nix b/modules/variables/wlroots.nix
new file mode 100644
index 0000000..25aaf4d
--- /dev/null
+++ b/modules/variables/wlroots.nix
@@ -0,0 +1,12 @@
+{
+ environment.variables = {
+ WLR_NO_HARDWARE_CURSORS = "1";
+ WLR_DRM_NO_ATOMIC = "1";
+ WLR_USE_LIBINPUT = "1";
+ WLR_RENDERER_ALLOW_SOFTWARE = "1";
+ WLR_DRM_DEVICES = "/dev/dri/card0";
+ WLR_EGL_NO_MODIFIERS = "1";
+ WLR_BACKEND = "vulkan";
+ WLR_RENDERER = "vulkan";
+ };
+}