docs: option docs improvements
- add missing description and defaultText fields - add dmarcReporting option group - render examples
This commit is contained in:
parent
fe36e7ae0d
commit
694e7d34f6
3 changed files with 420 additions and 276 deletions
|
@ -662,8 +662,11 @@ in
|
|||
email = mkOption {
|
||||
type = types.str;
|
||||
default = with cfg.dmarcReporting; "${localpart}@${domain}";
|
||||
example = "dmarc-noreply@example.com";
|
||||
defaultText = literalExpression ''"''${localpart}@''${domain}"'';
|
||||
readOnly = true;
|
||||
description = ''
|
||||
The email address used for outgoing DMARC reports. Read-only.
|
||||
'';
|
||||
};
|
||||
|
||||
organizationName = mkOption {
|
||||
|
@ -678,6 +681,7 @@ in
|
|||
fromName = mkOption {
|
||||
type = types.str;
|
||||
default = cfg.dmarcReporting.organizationName;
|
||||
defaultText = literalExpression "organizationName";
|
||||
description = ''
|
||||
The sender name for DMARC reports. Defaults to the organization name.
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue