Files
2026-07-12 18:07:46 +01:00

49 lines
877 B
Nix

{ pkgs, ... }:
let
tkn-repo = pkgs.fetchFromGitHub {
owner = "BennyOe";
repo = "tokyo-night.yazi";
rev = "8e6296f14daff24151c736ebd0b9b6cd89b02b03";
hash = "sha256-LArhRteD7OQRBguV1n13gb5jkl90sOxShkDzgEf3PA0=";
};
in
{
programs.yazi = {
enable = true;
enableZshIntegration = true;
shellWrapperName = "y";
settings = {
manager = {
show_hidden = true;
};
preview = {
max_width = 1000;
max_height = 1000;
};
};
plugins = {
full-border = pkgs.yaziPlugins.full-border;
git = pkgs.yaziPlugins.git;
};
flavors = {
tokyo-night = tkn-repo;
};
theme.flavor = {
dark = "tokyo-night";
light = "tokyo-night";
};
initLua = ''
require("full-border"):setup()
require("git"):setup {
order = 1500,
}
'';
};
}