From 9fc5517e14398fed1f0499666eef4962da8a8650 Mon Sep 17 00:00:00 2001 From: Soispha Date: Mon, 3 Jul 2023 21:29:34 +0200 Subject: Style(system/services/nginx): Use nested attr set for acme options --- system/services/nginx/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'system') diff --git a/system/services/nginx/default.nix b/system/services/nginx/default.nix index 3eb98d3..9a6667f 100644 --- a/system/services/nginx/default.nix +++ b/system/services/nginx/default.nix @@ -2,9 +2,13 @@ imports = [ ./hosts.nix ]; - security.acme.acceptTerms = true; - security.acme.defaults.email = "admin@vhack.eu"; - security.acme.defaults.webroot = "/srv/acme/"; + security.acme = { + acceptTerms = true; + defaults = { + email = "admin@vhack.eu"; + webroot = "/srv/acme/"; + }; + }; networking.firewall = { allowedTCPPorts = [80 443]; -- cgit 1.4.1