From 36c0166bc018a412ea7f2f1f42ae94e54f6f5612 Mon Sep 17 00:00:00 2001 From: Rory& Date: Sun, 3 Nov 2024 01:01:52 +0100 Subject: Certificates are objects --- host/Rory-nginx/services/email/maddy.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/host/Rory-nginx/services/email/maddy.nix b/host/Rory-nginx/services/email/maddy.nix index 75c490f..87421de 100644 --- a/host/Rory-nginx/services/email/maddy.nix +++ b/host/Rory-nginx/services/email/maddy.nix @@ -30,8 +30,10 @@ tls = { loader = "file"; certificates = [ - "/var/lib/acme/certs/mail.rory.gay/fullchain.pem" - "/var/lib/acme/certs/mail.rory.gay/privkey.pem" + { + certPath = "/var/lib/acme/certs/mail.rory.gay/fullchain.pem"; + keyPath = "/var/lib/acme/certs/mail.rory.gay/privkey.pem"; + } ]; }; }; @@ -40,9 +42,9 @@ 465 ]; -# security.acme.certs."mail.rory.gay" = { -# group = config.services.maddy.group; -# }; + # security.acme.certs."mail.rory.gay" = { + # group = config.services.maddy.group; + # }; users.users.maddy.extraGroups = [ "nginx" ]; } -- cgit 1.4.1