Chromium: Difference between revisions
imported>Rapenne-s flash has been deprecated for a while |
imported>Pogobanane mention new way to enable wayland |
||
Line 84: | Line 84: | ||
== Enabling native Wayland support == | == Enabling native Wayland support == | ||
Since Nixos 22.05 you can turn on native wayland support in all chrome and most electron apps by setting an environment variable: <code>environment.sessionVariables.NIXOS_OZONE_WL = "1"</code> ([https://nixos.org/manual/nixos/unstable/release-notes.html#sec-release-22.05-notable-changes see notable changes]) | |||
In earlier versions you can enable wayland support by setting the appropriate command-line flags: | |||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> |