diff options
| author | Fuwn <[email protected]> | 2024-10-01 06:17:12 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-01 06:17:12 -0700 |
| commit | 1422c6d330133fc8f382b43cb815a24d15dc651d (patch) | |
| tree | 59a4b7a11783775af63f24aa18344b77fe43822f /modules/pc/variables/wlroots.nix | |
| parent | modules: move emulated systems to extended nix configuration (diff) | |
| download | nixos-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.nix | 12 |
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"; + }; +} |