diff options
| author | Fuwn <[email protected]> | 2024-09-17 01:55:10 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-17 01:55:10 -0700 |
| commit | df2e68dc0a8fa6a4d778513c6d67f2698cb04104 (patch) | |
| tree | 93e6e9010db7c50ec409e68ca658b3b0e765f083 /modules/variables/wayland.nix | |
| parent | users: initial hashed password (diff) | |
| download | nixos-config-df2e68dc0a8fa6a4d778513c6d67f2698cb04104.tar.xz nixos-config-df2e68dc0a8fa6a4d778513c6d67f2698cb04104.zip | |
modules: move variables
Diffstat (limited to 'modules/variables/wayland.nix')
| -rw-r--r-- | modules/variables/wayland.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/variables/wayland.nix b/modules/variables/wayland.nix new file mode 100644 index 0000000..c1a51d9 --- /dev/null +++ b/modules/variables/wayland.nix @@ -0,0 +1,10 @@ +{ + environment.variables = { + GDK_BACKEND = "wayland,x11,*"; + SDL_VIDEODRIVER = "wayland"; + CLUTTER_BACKEND = "wayland"; + XWAYLAND_NO_GLAMOR = "1"; # Gamescope + ANKI_WAYLAND = "1"; + XDG_SESSION_TYPE = "wayland"; + }; +} |