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