Wayland: Difference between revisions

From NixOS Wiki
imported>Niahex
imported>Lumarius
Added an explanatory note to those not familiar with Ozone.
Line 16: Line 16:
environment.sessionVariables.NIXOS_OZONE_WL = "1";
environment.sessionVariables.NIXOS_OZONE_WL = "1";
</syntaxhighlight>
</syntaxhighlight>
This allows these applications to run without Xwayland.

Revision as of 21:17, 18 March 2024

Compositors

  • Sway is a i3-like compositor.
  • Hyprland the dynamic tiling Wayland compositor that doesn't sacrifice on its looks.

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";

This allows these applications to run without Xwayland.