diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-04-27 15:55:23 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-04-27 15:55:23 +0200 |
commit | 4f3964b9f0d018be7cf0dec8a068dfd70990e73a (patch) | |
tree | e103a7bb673bdf456452cbd0281dd946ea6bcbb7 | |
parent | f042df341bb3882659f43b1b595bfede04008e11 (diff) | |
download | nixos-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.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" = { |