Added yazi module

This commit is contained in:
alejandro-angulo 2024-08-11 19:31:51 -07:00
parent 6ab7837acf
commit 3303c5a249
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
2 changed files with 20 additions and 0 deletions

View file

@ -11,6 +11,7 @@
gpg.enable = true;
kitty.enable = true;
zoxide.enable = true;
yazi.enable = true;
};
tools = {

View file

@ -0,0 +1,19 @@
{
config,
lib,
namespace,
...
}: let
cfg = config.${namespace}.programs.yazi;
in {
options.${namespace}.programs.yazi = {
enable = lib.mkEnableOption "yazi";
};
config = lib.mkIf cfg.enable {
programs.yazi = {
enable = true;
catppuccin.enable = true;
};
};
}