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"; + + }; }