summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-04-27 15:55:23 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2016-04-27 15:55:23 +0200
commit4f3964b9f0d018be7cf0dec8a068dfd70990e73a (patch)
treee103a7bb673bdf456452cbd0281dd946ea6bcbb7
parentf042df341bb3882659f43b1b595bfede04008e11 (diff)
downloadnixos-4f3964b9f0d018be7cf0dec8a068dfd70990e73a.tar
nixos-4f3964b9f0d018be7cf0dec8a068dfd70990e73a.tar.gz
nixos-4f3964b9f0d018be7cf0dec8a068dfd70990e73a.tar.bz2
nixos-4f3964b9f0d018be7cf0dec8a068dfd70990e73a.tar.xz
nixos-4f3964b9f0d018be7cf0dec8a068dfd70990e73a.zip
first stab at dovecot
-rw-r--r--ymir.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/ymir.nix b/ymir.nix
index e85905ce..50aef197 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -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" = {