fix term file chooser

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2025-09-30 00:09:11 +02:00
parent e422234758
commit 61984aecf9

View File

@@ -1,5 +1,5 @@
{ pkgs, ... }@all: with all; let
tfc = pkgs.latest.xdg-desktop-portal-termfilechooser;
tfc = pkgs.xdg-desktop-portal-termfilechooser;
in {
home.packages = [
pkgs.unar
@@ -420,7 +420,14 @@ in {
enable = true;
xdgOpenUsePortal = true;
config.common."org.freedesktop.impl.portal.FileChooser" = "termfilechooser";
extraPortals = [ tfc ];
extraPortals = [ tfc ] ++ (with pkgs; [
xdg-desktop-portal-hyprland
xdg-desktop-portal
xdg-desktop-portal-gnome
xdg-desktop-portal-gtk
xdg-desktop-portal-hyprland
xdg-desktop-portal-wlr
]);
};
};
home.sessionVariables."GTK_USE_PORTAL" = "1";