tadpole: Remove unneeded assertion of existing certs for gitea
This commit is contained in:
@@ -43,14 +43,6 @@ in
|
|||||||
assertion = conf.baseDomain != "";
|
assertion = conf.baseDomain != "";
|
||||||
message = "Option 'mod.gitea.baseDomain' cannot be empty";
|
message = "Option 'mod.gitea.baseDomain' cannot be empty";
|
||||||
}
|
}
|
||||||
{
|
|
||||||
assertion = builtins.hasAttr gitDomain config.security.acme.certs;
|
|
||||||
message = "There is no cert configured for ${gitDomain} used by gitea";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
assertion = conf.webfingerEnable && builtins.hasAttr conf.baseDomain config.security.acme.certs;
|
|
||||||
message = "There is no cert configured for ${conf.baseDomain} used by webfinger";
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
assertion = conf.webfingerEnable && conf.webfingerAccounts != [ ];
|
assertion = conf.webfingerEnable && conf.webfingerAccounts != [ ];
|
||||||
message = "Option 'mod.gitea.webfingerAccounts' cannot be empty";
|
message = "Option 'mod.gitea.webfingerAccounts' cannot be empty";
|
||||||
|
|||||||
Reference in New Issue
Block a user