Fix using an option before it is defined

This commit is contained in:
RGBCube 2024-06-04 18:56:39 +03:00
parent 0d51a32e47
commit fa730af715
No known key found for this signature in database

View File

@ -676,8 +676,8 @@ in
};
acmeCertificateName = mkOption {
type = types.str;
default = cfg.fqdn;
type = with types; nullOr str;
default = cfg.fqdn or null;
example = "example.com";
description = ''
({option}`mailserver.certificateScheme` == `acme`)