diff options
Diffstat (limited to '')
-rw-r--r-- | modules/desktops/hyprland/default.nix | 3 | ||||
-rw-r--r-- | modules/desktops/wayland.nix | 9 |
2 files changed, 9 insertions, 3 deletions
diff --git a/modules/desktops/hyprland/default.nix b/modules/desktops/hyprland/default.nix index cc1122c..56eef35 100644 --- a/modules/desktops/hyprland/default.nix +++ b/modules/desktops/hyprland/default.nix @@ -25,6 +25,9 @@ in { extraPortals = [ inputs.hyprland.packages.${system}.xdg-desktop-portal-hyprland ]; + config = { + hyprland.common = ["gtk" "hyprland"]; + }; }; home-manager.users.${config.user} = { diff --git a/modules/desktops/wayland.nix b/modules/desktops/wayland.nix index ceef20a..600651f 100644 --- a/modules/desktops/wayland.nix +++ b/modules/desktops/wayland.nix @@ -10,10 +10,13 @@ in { config = mkIf cfg.wayland { xdg.portal = { enable = true; - wlr.enable = true; - extraPortals = [ - pkgs.xdg-desktop-portal-wlr + xdgOpenUsePortal = true; + extraPortals = with pkgs; [ + xdg-desktop-portal-gtk ]; + config = { + default.common = ["gtk"]; + }; }; programs.xwayland.enable = true; |