summaryrefslogtreecommitdiff
path: root/modules/darwin/base/documentation.nix
blob: 0e3ce85b4db7b7e5b387d41cde3a8f7f271ff960 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
  config,
  lib,
  ...
}: let
  cfg = config.getchoo.base.documentation;
  inherit (lib) mkEnableOption mkIf;
in {
  options.getchoo.base.documentation.enable = mkEnableOption "base module documentation";

  config = mkIf cfg.enable {
    documentation.man.enable = true;
  };
}