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

26 lines
390 B
Nix

{
lib,
config,
pkgs,
...
}:
{
options.custom = {
bat.enable = lib.mkEnableOption "enable bat - color cat alternative";
};
config = lib.mkIf config.custom.bat.enable {
home.packages = with pkgs; [
bat-extras.core
];
programs.bat = {
enable = true;
config = {
theme = "ansi";
style = "numbers,changes";
};
};
};
}