From 4f3964b9f0d018be7cf0dec8a068dfd70990e73a Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 27 Apr 2016 15:55:23 +0200 Subject: first stab at dovecot --- ymir.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ymir.nix b/ymir.nix index e85905ce..50aef197 100644 --- a/ymir.nix +++ b/ymir.nix @@ -331,6 +331,18 @@ in rec { ''; }; + services.dovecot2 = { + enable = true; + enableImap = true; + enableLmtp = false; + enablePop3 = false; + enablePam = true; + sslServerCert = "/var/lib/acme/yggdrasil.li/fullchain.pem"; + sslServerKey = "/var/lib/acme/yggdrasil.li/key.pem"; + extraConfig = '' + ''; + }; + security.acme = { certs = { "yggdrasil.li" = { -- cgit v1.2.3