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 = {