dotfiles/modules/home/apps/bat/default.nix

22 lines
320 B
Nix
Raw Normal View History

{
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;
};
};
}