From 23b996387758e6ff6b2bc856d3049bca00217750 Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Tue, 19 Dec 2023 09:08:36 +0100 Subject: [PATCH] pinwheel: Set `NIXOS_OZONE_WL` to true for `wayland` support --- hosts/pinwheel/modules/hyprland/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/pinwheel/modules/hyprland/default.nix b/hosts/pinwheel/modules/hyprland/default.nix index 3815ee6..72d3ceb 100644 --- a/hosts/pinwheel/modules/hyprland/default.nix +++ b/hosts/pinwheel/modules/hyprland/default.nix @@ -143,6 +143,8 @@ in ]; }; + # To start electron apps like `chromium` with wayland support + environment.sessionVariables.NIXOS_OZONE_WL = "1"; # The XDG portal is needed for screen sharing xdg.portal = {