add a new wayland environment var
This commit is contained in:
parent
3aadb5d551
commit
49f59d69e9
1 changed files with 2 additions and 1 deletions
|
@ -24,11 +24,12 @@ in {
|
|||
}
|
||||
(mkIf (cfg.envProto == "wayland") {
|
||||
environment.sessionVariables = {
|
||||
# magic, dont ask
|
||||
# magic environment variables that improve wayland compat
|
||||
NIXOS_OZONE_WL = "1";
|
||||
_JAVA_AWT_WM_NONEREPARENTING = "1";
|
||||
GDK_BACKEND = "wayland,x11";
|
||||
ANKI_WAYLAND = "1";
|
||||
ELECTRON_OZONE_PLATFORM_HINT = "wayland";
|
||||
XDG_SESSION_TYPE = "wayland";
|
||||
SDL_VIDEODRIVER = "wayland";
|
||||
CLUTTER_BACKEND = "wayland";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue