From 3ca0a58a041aa8f2995904b908cafe4263268065 Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Sun, 8 Sep 2024 19:55:22 +0200 Subject: [PATCH] tadpole: Remove unneeded assertion of existing certs for `gitea` --- hosts/tadpole/modules/gitea/default.nix | 8 -------- 1 file changed, 8 deletions(-) diff --git a/hosts/tadpole/modules/gitea/default.nix b/hosts/tadpole/modules/gitea/default.nix index f5e5f39..46deed9 100644 --- a/hosts/tadpole/modules/gitea/default.nix +++ b/hosts/tadpole/modules/gitea/default.nix @@ -43,14 +43,6 @@ in assertion = conf.baseDomain != ""; 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 != [ ]; message = "Option 'mod.gitea.webfingerAccounts' cannot be empty";