nixos/certmgr: Flip either submodule path type
For upcoming allowance of paths as submodules
This commit is contained in:
parent
568fd9c191
commit
228a7b173e
@ -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" />
|
||||||
|
Loading…
Reference in New Issue
Block a user