ooknet/home/modules/console/tools/bat.nix

24 lines
358 B
Nix

{
lib,
config,
pkgs,
...
}: let
inherit (lib) mkIf;
cfg = config.ooknet.tools.bat;
in {
config = mkIf cfg.enable {
programs.bat = {
enable = true;
extraPackages = with pkgs.bat-extras; [
batgrep
prettybat
batwatch
batman
];
config = {
theme = "base16";
};
};
};
}