2021-11-21 19:07:12 +01:00
|
|
|
{
|
2022-03-01 22:19:03 +01:00
|
|
|
pkgs,
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib; let
|
|
|
|
cfg = config.eboskma.programs.bat;
|
|
|
|
in {
|
2021-11-21 19:07:12 +01:00
|
|
|
options.eboskma.programs.bat = {
|
|
|
|
enable = mkEnableOption "enable bat";
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf (cfg.enable) {
|
|
|
|
programs.bat = {
|
|
|
|
enable = true;
|
|
|
|
config = {
|
|
|
|
theme = "Monokai Extended Bright";
|
|
|
|
pager = "less -FR";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|