summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ymir.nix6
-rw-r--r--ymir/ejabberd.yml1
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 {
789 email = "phikeebaogobaegh@141.li"; 789 email = "phikeebaogobaegh@141.li";
790 extraDomains = builtins.listToAttrs (builtins.map (name: { inherit name; value = null; }) myDomains); 790 extraDomains = builtins.listToAttrs (builtins.map (name: { inherit name; value = null; }) myDomains);
791 postRun = '' 791 postRun = ''
792 systemctl reload nginx.service dovecot2.service postfix.service prosody.service vsftpd.service infinoted.service 792 systemctl reload nginx.service dovecot2.service postfix.service ejabberd.service vsftpd.service infinoted.service
793 ''; 793 '';
794 }; 794 };
795 }; 795 };
@@ -966,7 +966,7 @@ in rec {
966 ''; 966 '';
967 967
968 systemd.status-mail = { 968 systemd.status-mail = {
969 onFailure = [ "nixos-upgrade" "postfix" "dovecot2" "prosody" "opendkim" "nsd" "unbound" "tinc@yggdrasil" "postsrsd" ]; 969 onFailure = [ "nixos-upgrade" "postfix" "dovecot2" "ejabberd" "opendkim" "nsd" "unbound" "tinc@yggdrasil" "postsrsd" ];
970 }; 970 };
971 971
972 services.vsftpd = { 972 services.vsftpd = {
@@ -1021,7 +1021,7 @@ in rec {
1021 "postfix-512".bits = 512; 1021 "postfix-512".bits = 512;
1022 "postfix-1024".bits = 1024; 1022 "postfix-1024".bits = 1024;
1023 "dovecot2".bits = 2048; 1023 "dovecot2".bits = 2048;
1024 prosody.bits = 3072; 1024 ejabberd.bits = 3072;
1025 }; 1025 };
1026 }; 1026 };
1027 1027
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:
8certfiles: 8certfiles:
9 - /var/lib/acme/yggdrasil.li/fullchain.pem 9 - /var/lib/acme/yggdrasil.li/fullchain.pem
10 - /var/lib/acme/yggdrasil.li/key.pem 10 - /var/lib/acme/yggdrasil.li/key.pem
11 - /var/lib/dhparams/ejabberd.pem
11listen: 12listen:
12 - port: 5222 13 - port: 5222
13 ip: "::" 14 ip: "::"