docs/options: Add option reference generator
Evaluate custom module options through a synthetic system, stabilize configuration-dependent defaults for rendering, and commit the generated reference beside its updater.
This commit is contained in:
@@ -190,6 +190,9 @@ let
|
||||
type = unspecified;
|
||||
default = ext;
|
||||
visible = "shallow";
|
||||
# Build-target plumbing: the default evaluates a whole alternate system, so keep
|
||||
# it out of the generated option docs (see `optionsDoc` in flake.nix).
|
||||
internal = true;
|
||||
description = "Configuration as ${desc}.";
|
||||
};
|
||||
in
|
||||
|
||||
Reference in New Issue
Block a user