Files
ndots/modules/home-manager/bat/default.nix
T
2026-07-12 15:25:55 -03:00

18 lines
314 B
Nix

{ lib, config, ... }:
{
options.custom = {
bat.enable = lib.mkEnableOption "enable bat - color cat alternative";
};
config = lib.mkIf config.custom.bat.enable {
programs.bat = {
enable = true;
config = {
theme = "ansi";
style = "numbers,changes";
};
};
};
}