From f250dda0b8df0e37453eb3e70f52b31ff05ae4cf Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Fri, 27 Jun 2025 16:43:58 -0400 Subject: fix xdg.portal after refactor --- modules/desktops/wayland.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'modules/desktops/wayland.nix') 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; -- cgit v1.2.3-freya