25 lines
409 B
Nix
25 lines
409 B
Nix
{ config
|
|
, lib
|
|
, ...
|
|
}:
|
|
with lib; let
|
|
cfg = config.eboskma.programs.bat;
|
|
in
|
|
{
|
|
options.eboskma.programs.bat = {
|
|
enable = mkEnableOption "enable bat";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
programs.bat = {
|
|
enable = true;
|
|
config = {
|
|
theme = "Monokai Extended Bright";
|
|
pager = "less -FR";
|
|
map-syntax = [
|
|
"*.heex:HTML (EEx)"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|