diff options
author | Rory& <root@rory.gay> | 2024-11-03 01:01:52 +0100 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-11-03 01:01:52 +0100 |
commit | 36c0166bc018a412ea7f2f1f42ae94e54f6f5612 (patch) | |
tree | 6dfef823e5e0486f0d42eff8e1a8ac9b1270c9ec /host | |
parent | Maddy is nginx (diff) | |
download | Rory-Open-Architecture-36c0166bc018a412ea7f2f1f42ae94e54f6f5612.tar.xz |
Certificates are objects
Diffstat (limited to 'host')
-rw-r--r-- | host/Rory-nginx/services/email/maddy.nix | 12 |
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" ]; } |