diff --git a/services/fediversity/default.nix b/services/fediversity/default.nix index 6baf00fa..ca7b1f38 100644 --- a/services/fediversity/default.nix +++ b/services/fediversity/default.nix @@ -65,4 +65,16 @@ in }; }; }; + + config = { + ## FIXME: This should clearly go somewhere else; and we should have a + ## `staging` vs. `production` setting somewhere. + security.acme = { + acceptTerms = true; + # use a priority more urgent than mkDefault for panel deployment to work, + # yet looser than default so this will not clash with the setting in tests. + defaults.email = lib.modules.mkOverride 200 "something@fediversity.net"; + # defaults.server = "https://acme-staging-v02.api.letsencrypt.org/directory"; + }; + }; }