{ config, lib, ... }: let cfg = config.soispha.documentation; in { options.soispha.documentation = { enable = lib.mkEnableOption "documentation"; }; config = lib.mkIf cfg.enable { documentation = { nixos = { # FIXME: This results in a evaluation failure (with lanzaboote options) <2024-05-23> includeAllModules = false; enable = true; }; dev = { # Add man pages aimed at developers (I guess c library stuff, and the like) enable = true; }; }; }; }