dotfiles/modules/home/programs/yazi/default.nix

20 lines
302 B
Nix
Raw Permalink Normal View History

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 {
programs.yazi = {
enable = true;
catppuccin.enable = true;
};
};
}