From 5c091b8b8672cd32faf3a04fd04a5f86e4bc4f83 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Sat, 6 Apr 2024 12:04:00 +0200 Subject: [PATCH] [hyprland] added ozone environment variable --- nix/systems/desktop.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nix/systems/desktop.nix b/nix/systems/desktop.nix index 110cf2f..bb30d1a 100644 --- a/nix/systems/desktop.nix +++ b/nix/systems/desktop.nix @@ -33,4 +33,12 @@ package = pkgs.unstable.hyprland; xwayland.enable = true; }; + + # environment variables for hyprland + environment.sessionVariables = { + + # hint electron apps to use wayland + NIXOS_OZONE_WL = "1"; + + }; }