Configure XDG portal with GTK backend for file dialogs

This commit is contained in:
Christopher Mühl 2025-12-19 09:24:56 +01:00
parent f47f761bb8
commit b628205eac
No known key found for this signature in database
GPG key ID: E919B0F59E14FD47

View file

@ -25,6 +25,7 @@ in {
wl-clipboard
libsForQt5.qtstyleplugin-kvantum
xwayland-satellite
nautilus # xdg-gnome needs this but we don't use gnome???
];
programs.niri = {
@ -52,7 +53,13 @@ in {
};
};
# xdg.portal.extraPortals = [pkgs.xdg-desktop-portal-gtk];
xdg.portal = {
enable = true;
xdgOpenUsePortal = true;
extraPortals = [pkgs.xdg-desktop-portal-gtk];
configPackages = [pkgs.xdg-desktop-portal-gtk];
config.common.default = "gtk";
};
security.polkit.enable = true;
};