summaryrefslogtreecommitdiff
path: root/modules/pc/variables/wlroots.nix
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-10-01 06:17:12 -0700
committerFuwn <[email protected]>2024-10-01 06:17:12 -0700
commit1422c6d330133fc8f382b43cb815a24d15dc651d (patch)
tree59a4b7a11783775af63f24aa18344b77fe43822f /modules/pc/variables/wlroots.nix
parentmodules: move emulated systems to extended nix configuration (diff)
downloadnixos-config-1422c6d330133fc8f382b43cb815a24d15dc651d.tar.xz
nixos-config-1422c6d330133fc8f382b43cb815a24d15dc651d.zip
modules: move variables and initrd systemd to pc
Diffstat (limited to 'modules/pc/variables/wlroots.nix')
-rw-r--r--modules/pc/variables/wlroots.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/pc/variables/wlroots.nix b/modules/pc/variables/wlroots.nix
new file mode 100644
index 0000000..25aaf4d
--- /dev/null
+++ b/modules/pc/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";
+ };
+}