From 7f2a4a39c95555c84b05ef31cae93ceb2fe65408 Mon Sep 17 00:00:00 2001 From: derped Date: Wed, 20 Nov 2024 15:29:03 +0100 Subject: [PATCH] sway: set env for chromium and electron --- services/desktop/sway.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/desktop/sway.nix b/services/desktop/sway.nix index e1dedb7..b467d0e 100644 --- a/services/desktop/sway.nix +++ b/services/desktop/sway.nix @@ -40,6 +40,8 @@ with lib; # Fix for some Java AWT applications (e.g. Android Studio), # use this if they aren't displayed properly: export _JAVA_AWT_WM_NONREPARENTING=1 + # Chromium (based) applications + export NIXOS_OZONE_WL=1 ''; }; }