config/modules/home/apps/tools/tealdeer/default.nix
2024-05-23 20:48:19 +00:00

30 lines
484 B
Nix

{
options,
config,
lib,
pkgs,
...
}:
with lib;
with lib.custom; let
cfg = config.apps.tools.tealdeer;
in {
options.apps.tools.tealdeer = with types; {
enable = mkBoolOpt false "Enable Tealdeer";
};
config = mkIf cfg.enable {
programs.tealdeer = {
enable = true;
settings = {
display = {
compact = false;
use_pager = true;
};
updates = {
auto_update = true;
};
};
};
};
}