2024-08-12 02:31:51 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
namespace,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
cfg = config.${namespace}.programs.yazi;
|
|
|
|
in {
|
|
|
|
options.${namespace}.programs.yazi = {
|
|
|
|
enable = lib.mkEnableOption "yazi";
|
|
|
|
};
|
|
|
|
|
|
|
|
config = lib.mkIf cfg.enable {
|
2025-01-17 03:04:06 +00:00
|
|
|
programs.yazi.enable = true;
|
|
|
|
catppuccin.yazi.enable = true;
|
2024-08-12 02:31:51 +00:00
|
|
|
};
|
|
|
|
}
|