From 285cc40c80e699b50419fa3f498e9da5e53ecbf4 Mon Sep 17 00:00:00 2001 From: Myned Date: Sat, 21 Dec 2024 13:45:32 -0500 Subject: [PATCH] env: add electron wayland hint Signed-off-by: Myned --- options/custom/settings/environment.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/options/custom/settings/environment.nix b/options/custom/settings/environment.nix index 0e0b8ae..8f17a45 100644 --- a/options/custom/settings/environment.nix +++ b/options/custom/settings/environment.nix @@ -29,6 +29,7 @@ in { # https://wiki.nixos.org/wiki/Wayland#Electron_and_Chromium NIXOS_OZONE_WL = mkIf cfg.wayland "1"; + ELECTRON_OZONE_PLATFORM_HINT = mkIf cfg.wayland "auto"; }; shellAliases = {