summary refs log tree commit diff
path: root/host/Rory-nginx/services
diff options
context:
space:
mode:
Diffstat (limited to 'host/Rory-nginx/services')
-rw-r--r--host/Rory-nginx/services/email/maddy.nix12
1 files 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" ];
 }