2022-11-19 20:00:54 +01:00
|
|
|
{ config
|
2022-04-27 00:21:19 +02:00
|
|
|
, lib
|
|
|
|
, ...
|
2022-03-01 22:19:03 +01:00
|
|
|
}:
|
|
|
|
with lib; let
|
|
|
|
cfg = config.eboskma.programs.bat;
|
2022-04-27 00:21:19 +02:00
|
|
|
in
|
|
|
|
{
|
2021-11-21 19:07:12 +01:00
|
|
|
options.eboskma.programs.bat = {
|
|
|
|
enable = mkEnableOption "enable bat";
|
|
|
|
};
|
|
|
|
|
2022-05-03 18:17:38 +02:00
|
|
|
config = mkIf cfg.enable {
|
2021-11-21 19:07:12 +01:00
|
|
|
programs.bat = {
|
|
|
|
enable = true;
|
|
|
|
config = {
|
|
|
|
theme = "Monokai Extended Bright";
|
|
|
|
pager = "less -FR";
|
2022-10-05 15:36:12 +02:00
|
|
|
map-syntax = [
|
|
|
|
"*.heex:HTML (EEx)"
|
|
|
|
];
|
2021-11-21 19:07:12 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|