Wayland: Difference between revisions
imported>Qyriad add note about NIXOS_OZONE_WL |
imported>Qyriad m fix code snippet from prev edit |
||
Line 15: | Line 15: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
sessionVariables.NIXOS_OZONE_WL = "1"; | environment.sessionVariables.NIXOS_OZONE_WL = "1"; | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 22:32, 21 August 2023
Compositors
Sway
Sway is a i3-like compositor.
Applications
Electron and Chromium
As of NixOS 22.05 ("Quokka"), you can enable Ozone Wayland support in Chromium and Electron based applications by setting the environment variable NIXOS_OZONE_WL=1
. For example, in a configuration.nix
:
environment.sessionVariables.NIXOS_OZONE_WL = "1";