snowflake/home/programs/terminal/yazi/default.nix
notohh 137a114c16
flake.nix: add hyprsysinfo && use fufexan zen fork
yazi: disable lua conf & fix keymap

tsuki: add hyprsysinfo

hypridle: dpms off on timeout

hosts: enable wastebin

stash: bump version

yuki: disable paperless & hydroxide
2024-10-14 07:42:09 -04:00

31 lines
639 B
Nix

{
config,
pkgs,
...
}: {
# xdg.configFile."yazi/init.lua".source = ./init.lua;
imports = [./keymap.nix ./openers.nix];
programs.yazi = {
enable = true;
package = pkgs.yazi;
enableNushellIntegration = true;
settings = {
manager = {
ratio = [1 3 3];
sort_by = "natural";
sort_reverse = false;
sort_dir_first = true;
show_hidden = true;
show_symlink = true;
linemode = "size";
};
preview = {
cache_dir = "${config.xdg.cacheHome}";
max_height = 900;
max_width = 600;
};
log.enable = false;
};
};
}