From 56156d2b421752ad6c61b5a84bc48bce5c45f761 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 12 Jul 2020 19:54:18 +0200 Subject: ... --- ymir.nix | 6 +++--- ymir/ejabberd.yml | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ymir.nix b/ymir.nix index 98b3cc0e..8af71f0d 100644 --- a/ymir.nix +++ b/ymir.nix @@ -789,7 +789,7 @@ in rec { email = "phikeebaogobaegh@141.li"; extraDomains = builtins.listToAttrs (builtins.map (name: { inherit name; value = null; }) myDomains); postRun = '' - systemctl reload nginx.service dovecot2.service postfix.service prosody.service vsftpd.service infinoted.service + systemctl reload nginx.service dovecot2.service postfix.service ejabberd.service vsftpd.service infinoted.service ''; }; }; @@ -966,7 +966,7 @@ in rec { ''; systemd.status-mail = { - onFailure = [ "nixos-upgrade" "postfix" "dovecot2" "prosody" "opendkim" "nsd" "unbound" "tinc@yggdrasil" "postsrsd" ]; + onFailure = [ "nixos-upgrade" "postfix" "dovecot2" "ejabberd" "opendkim" "nsd" "unbound" "tinc@yggdrasil" "postsrsd" ]; }; services.vsftpd = { @@ -1021,7 +1021,7 @@ in rec { "postfix-512".bits = 512; "postfix-1024".bits = 1024; "dovecot2".bits = 2048; - prosody.bits = 3072; + ejabberd.bits = 3072; }; }; diff --git a/ymir/ejabberd.yml b/ymir/ejabberd.yml index 52559b84..f87e9bf7 100644 --- a/ymir/ejabberd.yml +++ b/ymir/ejabberd.yml @@ -8,6 +8,7 @@ hosts: certfiles: - /var/lib/acme/yggdrasil.li/fullchain.pem - /var/lib/acme/yggdrasil.li/key.pem + - /var/lib/dhparams/ejabberd.pem listen: - port: 5222 ip: "::" -- cgit v1.2.3