11.stylix/modules/bat/hm.nix
NAHO 3fb65013f7 treewide: rename mkTarget's configElements and extraOptions options
Rename mkTarget's 'configElements' argument to 'config' and
'extraOptions' to 'options' to provide a more transparent interface with
the underlying Nixpkgs module system.

(cherry picked from commit 16df6b8448)
2025-12-10 07:14:37 -10:00

20 lines
451 B
Nix

{ mkTarget, ... }:
mkTarget {
name = "bat";
humanName = "Bat";
config =
{ colors }:
{
programs.bat = {
# This theme is reused for yazi. Changes to the template
# will need to be applied to modules/yazi/hm.nix
themes."base16-stylix".src = colors {
template = ./base16-stylix.tmTheme.mustache;
extension = ".tmTheme";
};
config.theme = "base16-stylix";
};
};
}