dots/modules/home-manager/features/bat.nix
2025-08-07 11:48:22 +10:00

23 lines
310 B
Nix

{
config,
pkgs,
lib,
...
}:
let
feature = "bat";
in
{
config = lib.mkIf config.${feature}.enable {
programs.bat = {
enable = true;
config = {
theme = "Dracula";
};
};
};
imports = [ ];
options.${feature}.enable = lib.mkEnableOption "enables ${feature}";
}