2024-05-23 20:48:19 +00:00
|
|
|
{
|
|
|
|
|
options,
|
|
|
|
|
config,
|
|
|
|
|
lib,
|
|
|
|
|
pkgs,
|
|
|
|
|
...
|
|
|
|
|
}:
|
|
|
|
|
with lib;
|
|
|
|
|
with lib.custom; let
|
|
|
|
|
cfg = config.apps.tools.bat;
|
|
|
|
|
in {
|
|
|
|
|
options.apps.tools.bat = with types; {
|
|
|
|
|
enable = mkBoolOpt false "Enable Bat";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
2026-01-13 15:39:16 -05:00
|
|
|
catppuccin.bat.enable = true;
|
|
|
|
|
|
2024-05-23 20:48:19 +00:00
|
|
|
programs.bat = {
|
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
|
|
config = {
|
|
|
|
|
pager = "less -FR";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|