Merge branch 'options' into 'master'
acmeCertificateName: Set defaultText as the default is dynamic See merge request simple-nixos-mailserver/nixos-mailserver!432
This commit is contained in:
commit
ce87c8a977
1 changed files with 1 additions and 0 deletions
|
@ -838,6 +838,7 @@ in
|
||||||
acmeCertificateName = mkOption {
|
acmeCertificateName = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = cfg.fqdn;
|
default = cfg.fqdn;
|
||||||
|
defaultText = literalExpression "config.mailserver.fqdn";
|
||||||
example = "example.com";
|
example = "example.com";
|
||||||
description = ''
|
description = ''
|
||||||
({option}`mailserver.certificateScheme` == `acme`)
|
({option}`mailserver.certificateScheme` == `acme`)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue