From 5558642d3212292d14fc3ce078813b5a1d7bda3c Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Fri, 14 Jan 2022 13:30:20 +0100 Subject: [PATCH] modules: services: nginx: use 'acme.default.email' The option `security.acme.email` has been deprecated. --- modules/services/nginx/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/services/nginx/default.nix b/modules/services/nginx/default.nix index 7e4d6f4..d99ff2d 100644 --- a/modules/services/nginx/default.nix +++ b/modules/services/nginx/default.nix @@ -387,7 +387,8 @@ in users.users.nginx.extraGroups = [ "acme" ]; security.acme = { - email = lib.my.mkMailAddress "bruno.acme" "belanyi.fr"; + defaults.email = lib.my.mkMailAddress "bruno.acme" "belanyi.fr"; + acceptTerms = true; # Use DNS wildcard certificate certs =