From 61984aecf9b4c767b48b5d9f32091eccd809c996 Mon Sep 17 00:00:00 2001 From: "Lennart J. Kurzweg (Nx2)" Date: Tue, 30 Sep 2025 00:09:11 +0200 Subject: [PATCH] fix term file chooser --- home-modules/yazi.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/home-modules/yazi.nix b/home-modules/yazi.nix index 752325d..ad0afaa 100644 --- a/home-modules/yazi.nix +++ b/home-modules/yazi.nix @@ -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";