Wayland

From NixOS Wiki
Revision as of 21:17, 18 March 2024 by imported>Lumarius (Added an explanatory note to those not familiar with Ozone.)

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.