Wayland: Difference between revisions
Appearance
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
☶︎
This article or section needs to be expanded. Please consult the pedia article metapage for guidelines on contributing.
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";