nix-conf/modules/home-manager/bat/default.nix
2024-04-11 18:24:08 +05:30

17 lines
245 B
Nix

{
config,
lib,
...
}: {
options = {
bat.enable = lib.mkEnableOption "enable bat";
};
config = lib.mkIf config.bat.enable {
programs.bat = {
enable = true;
config = {
theme = "ansi";
};
};
};
}