From 760d686499294f9fb251d2c61c1dd825b19fef36 Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Sat, 28 Jun 2025 15:50:51 -0400 Subject: [PATCH] finally fixed xdg portals --- modules/machine/cloud/configuration.nix | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/modules/machine/cloud/configuration.nix b/modules/machine/cloud/configuration.nix index 777fdf1..91b3497 100644 --- a/modules/machine/cloud/configuration.nix +++ b/modules/machine/cloud/configuration.nix @@ -55,6 +55,10 @@ in { wttrbar cliphist xdg-desktop-portal-gtk + xdg-utils + flatpak-xdg-utils + desktop-file-utils + shared-mime-info ]; # Enable OpenSSH @@ -152,15 +156,16 @@ in { xdg = { portal = { enable = true; - # wlr.enable = true; - # config = { - # common = { - # default = [ - # "wlr" - # ]; - # }; - # }; - xdgOpenUsePortal = true; + config = { + sway = { + default = [ "wlr" "gtk" ]; + "org.freedesktop.impl.portal.Secret" = [ "gnome-keyring" ]; + }; + common = { + default = [ "gtk" ]; + "org.freedesktop.impl.portal.Secret" = [ "gnome-keyring" ]; + }; + }; extraPortals = with pkgs; [ xdg-desktop-portal-wlr xdg-desktop-portal-gtk