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

20 lines
305 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 {
2025-01-17 03:04:06 +00:00
catppuccin.bat.enable = true;
programs.bat.enable = true;
};
}