Files
dotfiles/home/programs/yazi.nix
servius 2494e8ce83
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled
feat(yazi): add config arg and preview cache_dir
2026-01-13 16:01:52 +05:30

22 lines
536 B
Nix

{config, ...}: {
programs. yazi = {
enable = true;
enableFishIntegration = true;
enableNushellIntegration = true;
# theme = lib.mkDefault builtins.fromTOML (builtins.readFile "${pkgs.catppuccinThemes.yazi}/themes/mocha.toml");
settings = {
plugin = {
prepend_preloaders = [
{
name = "/run/user/1000/gvfs";
run = "noop";
}
];
};
preview = {
cache_dir = config.home.homeDirectory + "/.cache/yazi/previews";
};
};
};
}