mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2025-04-02 05:44:33 +05:00
Fix using an option before it is defined
This commit is contained in:
parent
0d51a32e47
commit
fa730af715
@ -676,8 +676,8 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
acmeCertificateName = mkOption {
|
acmeCertificateName = mkOption {
|
||||||
type = types.str;
|
type = with types; nullOr str;
|
||||||
default = cfg.fqdn;
|
default = cfg.fqdn or null;
|
||||||
example = "example.com";
|
example = "example.com";
|
||||||
description = ''
|
description = ''
|
||||||
({option}`mailserver.certificateScheme` == `acme`)
|
({option}`mailserver.certificateScheme` == `acme`)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user