nixos/certmgr: Flip either submodule path type

For upcoming allowance of paths as submodules
This commit is contained in:
Silvan Mosberger 2020-01-08 23:52:42 +01:00
parent 568fd9c191
commit 228a7b173e
No known key found for this signature in database
GPG Key ID: E8F1E9EAD284E17D

View File

@ -113,7 +113,7 @@ in
otherCert = "/var/certmgr/specs/other-cert.json"; otherCert = "/var/certmgr/specs/other-cert.json";
} }
''; '';
type = with types; attrsOf (either (submodule { type = with types; attrsOf (either path (submodule {
options = { options = {
service = mkOption { service = mkOption {
type = nullOr str; type = nullOr str;
@ -148,7 +148,7 @@ in
description = "certmgr spec request object."; description = "certmgr spec request object.";
}; };
}; };
}) path); }));
description = '' description = ''
Certificate specs as described by: Certificate specs as described by:
<link xlink:href="https://github.com/cloudflare/certmgr#certificate-specs" /> <link xlink:href="https://github.com/cloudflare/certmgr#certificate-specs" />