diff options
| author | Fuwn <[email protected]> | 2024-09-22 15:12:25 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-22 15:13:02 -0700 |
| commit | 9884d07e6574ef81e1e7da94f90ee08bee036dd3 (patch) | |
| tree | 268ddd123679ca3b6b5b56a2b3b9d9707271b2f7 /modules/desktop/variables/wlroots.nix | |
| parent | lock: rui, tsutsumi (diff) | |
| download | nixos-config-9884d07e6574ef81e1e7da94f90ee08bee036dd3.tar.xz nixos-config-9884d07e6574ef81e1e7da94f90ee08bee036dd3.zip | |
core: move variables and virtualisation to desktop
Diffstat (limited to 'modules/desktop/variables/wlroots.nix')
| -rw-r--r-- | modules/desktop/variables/wlroots.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/desktop/variables/wlroots.nix b/modules/desktop/variables/wlroots.nix new file mode 100644 index 0000000..25aaf4d --- /dev/null +++ b/modules/desktop/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"; + }; +} |