From 9884d07e6574ef81e1e7da94f90ee08bee036dd3 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sun, 22 Sep 2024 15:12:25 -0700 Subject: core: move variables and virtualisation to desktop --- modules/desktop/variables/wlroots.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 modules/desktop/variables/wlroots.nix (limited to 'modules/desktop/variables/wlroots.nix') 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"; + }; +} -- cgit v1.2.3