From 2494e8ce83d209e8c5e10dd659e28de688d273b0 Mon Sep 17 00:00:00 2001 From: servius Date: Tue, 13 Jan 2026 16:01:52 +0530 Subject: [PATCH] feat(yazi): add config arg and preview cache_dir --- home/programs/yazi.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/home/programs/yazi.nix b/home/programs/yazi.nix index c9035db4..5fc5c849 100644 --- a/home/programs/yazi.nix +++ b/home/programs/yazi.nix @@ -1,4 +1,4 @@ -{...}: { +{config, ...}: { programs. yazi = { enable = true; enableFishIntegration = true; @@ -13,6 +13,9 @@ } ]; }; + preview = { + cache_dir = config.home.homeDirectory + "/.cache/yazi/previews"; + }; }; }; }