finally fixed xdg portals

This commit is contained in:
2025-06-28 15:50:51 -04:00
parent 69e6329dea
commit 760d686499

View File

@ -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