Files
dotfiles/home/programs/yazi.nix

23 lines
565 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";
};
};
shellWrapperName = "yy";
};
}