{ config, lib, ... }: let cfg = config.soispha.documentation; in { options.soispha.documentation = { enable = lib.mkEnableOption "documentation"; }; config = lib.mkIf cfg.enable { documentation = { nixos = { includeAllModules = true; enable = true; }; dev = { # Add man pages aimed at developers (I guess c library stuff, and the like) enable = true; }; }; }; }