document how to make Electron apps use wayland natively
This commit is contained in:
4
modules/universal/env/default.nix
vendored
4
modules/universal/env/default.nix
vendored
@@ -13,6 +13,10 @@
|
|||||||
EDITOR = "vim";
|
EDITOR = "vim";
|
||||||
# git claims it should use EDITOR, but it doesn't!
|
# git claims it should use EDITOR, but it doesn't!
|
||||||
GIT_EDITOR = "vim";
|
GIT_EDITOR = "vim";
|
||||||
|
# Electron apps should use native wayland backend:
|
||||||
|
# https://nixos.wiki/wiki/Slack#Wayland
|
||||||
|
# Discord under sway crashes with this.
|
||||||
|
# NIXOS_OZONE_WL = "1";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user