dotfiles/modules/apps/bat/default.nix
Alejandro Angulo 58bdc7f6c5
Added bat module
Already had bat but I wanted to specify a specific theme.
2023-06-22 17:23:27 -07:00

24 lines
339 B
Nix

{
options,
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.aa.apps.bat;
in {
options.aa.apps.bat = with types; {
enable = mkEnableOption "bat";
};
config = mkIf cfg.enable {
aa.home.extraOptions = {
programs.bat = {
enable = true;
config.theme = "gruvbox-dark";
};
};
};
}