summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ymir.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/ymir.nix b/ymir.nix
index e116c654..52e43d3e 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -289,4 +289,31 @@ in rec {
289 enable = true; 289 enable = true;
290 basePath = services.gitolite.dataDir + "/repositories"; 290 basePath = services.gitolite.dataDir + "/repositories";
291 }; 291 };
292
293 services.postfix = {
294 enable = true;
295 hostname = "ymir.yggdrasil.li";
296 recipientDelimiter = "+";
297 rootAlias = "gkleen";
298 setSendmail = true;
299 destination = ["yggdrasil.li" "ymir.yggdrasil.li" "mail.yggdrasil.li" "praseodym.org" "ymir.praseodym.org" "mail.praseodym.org" "141.li" "ymir.141.li" "mail.141.li" "xmpp.li" "ymir.xmpp.li" "mail.xmpp.li" "dirty-haskell.org" "mail.dirty-haskell.org" "explainuxul.de" "lmu.li" "localhost.yggdrasil.li" "localhost"];
300 sslCert = "";
301 sslKey = "";
302 };
303
304 services.acme = {
305 certs = {
306 "yggdrasil.li" = {
307 webroot = "/srv/www/acme/yggdrasil.li";
308 allowKeysForGroup = true;
309 email = "phikeebaogobaegh@141.li";
310 extraDomains = builtins.listToAttrs (builtins.map (name: { inherit name; value = "/srv/www/acme/${name}"; })
311 ["git.yggdrasil.li" "dirty-haskell.org" "www.dirty-haskell.org" "141.li" "www.141.li" "xmpp.li" "www.xmpp.li" "www.yggdrasil.li" "praseodym.org" "www.praseodym.org" "mail.dirty-haskell.org" "mail.141.li" "mail.xmpp.li" "mail.yggdrasil.li" "mail.praseodym.org"]);
312 postRun = ''
313 systemctl reload nginx.service
314 prosodyctl reload
315 '';
316 };
317 };
318 };
292} 319}