2024-07-29 05:38:41 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
namespace,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
inherit (lib) mkIf mkEnableOption;
|
|
|
|
|
|
|
|
cfg = config.${namespace}.apps.bat;
|
|
|
|
in {
|
|
|
|
options.${namespace}.apps.bat = {
|
|
|
|
enable = mkEnableOption "bat";
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
programs.bat = {
|
|
|
|
enable = true;
|
2024-08-12 02:21:41 +00:00
|
|
|
catppuccin.enable = true;
|
2024-07-29 05:38:41 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|