From 7aadc0c8feade16770870dcc5563012588794beb Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Tue, 14 Jan 2025 14:44:38 +0100 Subject: [PATCH] modules/nix/programs/hyprland: make chromium/electron apps run on Wayland --- modules/nix/programs/hyprland.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/nix/programs/hyprland.nix b/modules/nix/programs/hyprland.nix index 60bfea0..8d72df2 100644 --- a/modules/nix/programs/hyprland.nix +++ b/modules/nix/programs/hyprland.nix @@ -9,6 +9,9 @@ environment.systemPackages = [ inputs.hyprland-qtutils.packages.${pkgs.system}.default ]; + + environment.sessionVariables.NIXOS_OZONE_WL = "1"; + programs.hyprland = { enable = true; package = inputs.hyprland.packages.${pkgs.system}.hyprland;