reNixos/hand7s/xdg/configFile.nix
s0me1newithhand7s c5f949506a staging(no atomic commits thank to git-hooks)
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
2026-03-25 17:56:18 +03:00

22 lines
508 B
Nix

{
lib,
pkgs,
...
}: {
xdg = {
configFile = {
"xdg-desktop-portal-termfilechooser/config" = {
enable = true;
force = true;
text = ''
[filechooser]
cmd="${pkgs.xdg-desktop-portal-termfilechooser}/share/xdg-desktop-portal-termfilechooser/yazi-wrapper.sh"
default_dir=$HOME
env=TERMCMD="${lib.getExe pkgs.ghostty} --title='yazi-picker' -e"
open_mode=suggested
save_mode=last
'';
};
};
};
}