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/wayland.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 modules/desktop/variables/wayland.nix (limited to 'modules/desktop/variables/wayland.nix') diff --git a/modules/desktop/variables/wayland.nix b/modules/desktop/variables/wayland.nix new file mode 100644 index 0000000..ee21d52 --- /dev/null +++ b/modules/desktop/variables/wayland.nix @@ -0,0 +1,10 @@ +{ + environment.variables = { + GDK_BACKEND = "wayland,x11,*"; + SDL_VIDEODRIVER = "wayland"; + CLUTTER_BACKEND = "wayland"; + XWAYLAND_NO_GLAMOR = "0"; # Gamescope + ANKI_WAYLAND = "1"; + XDG_SESSION_TYPE = "wayland"; + }; +} -- cgit v1.2.3