diff options
-rw-r--r-- | ymir.nix | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -331,6 +331,18 @@ in rec { | |||
331 | ''; | 331 | ''; |
332 | }; | 332 | }; |
333 | 333 | ||
334 | services.dovecot2 = { | ||
335 | enable = true; | ||
336 | enableImap = true; | ||
337 | enableLmtp = false; | ||
338 | enablePop3 = false; | ||
339 | enablePam = true; | ||
340 | sslServerCert = "/var/lib/acme/yggdrasil.li/fullchain.pem"; | ||
341 | sslServerKey = "/var/lib/acme/yggdrasil.li/key.pem"; | ||
342 | extraConfig = '' | ||
343 | ''; | ||
344 | }; | ||
345 | |||
334 | security.acme = { | 346 | security.acme = { |
335 | certs = { | 347 | certs = { |
336 | "yggdrasil.li" = { | 348 | "yggdrasil.li" = { |