diff --git a/modules/universal/env/default.nix b/modules/universal/env/default.nix index 71e9215dc..be1d485b4 100644 --- a/modules/universal/env/default.nix +++ b/modules/universal/env/default.nix @@ -13,6 +13,10 @@ EDITOR = "vim"; # git claims it should use EDITOR, but it doesn't! 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"; }; }