Bruno BELANYI
65a8f7c481
Consolidating all modules under the same path, to clear out the top-level directory.
19 lines
348 B
Nix
19 lines
348 B
Nix
{ config, lib, ... }:
|
|
let
|
|
cfg = config.my.home.bat;
|
|
in
|
|
{
|
|
options.my.home.bat = with lib; {
|
|
enable = my.mkDisableOption "bat configuration";
|
|
};
|
|
|
|
config.programs.bat = lib.mkIf cfg.enable {
|
|
enable = true;
|
|
config = {
|
|
theme = "gruvbox-dark";
|
|
|
|
pager = with config.home.sessionVariables; "${PAGER} ${LESS}";
|
|
};
|
|
};
|
|
}
|