diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2020-07-12 19:54:18 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2020-07-12 19:54:18 +0200 |
commit | 56156d2b421752ad6c61b5a84bc48bce5c45f761 (patch) | |
tree | e821084291e298c4f0b3c194dbcaa066544f6ff4 | |
parent | f945dc7c1a3b3507e808f7570e1a47e6b8c59233 (diff) | |
download | nixos-56156d2b421752ad6c61b5a84bc48bce5c45f761.tar nixos-56156d2b421752ad6c61b5a84bc48bce5c45f761.tar.gz nixos-56156d2b421752ad6c61b5a84bc48bce5c45f761.tar.bz2 nixos-56156d2b421752ad6c61b5a84bc48bce5c45f761.tar.xz nixos-56156d2b421752ad6c61b5a84bc48bce5c45f761.zip |
...
-rw-r--r-- | ymir.nix | 6 | ||||
-rw-r--r-- | ymir/ejabberd.yml | 1 |
2 files changed, 4 insertions, 3 deletions
@@ -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: | |||
8 | certfiles: | 8 | certfiles: |
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 | ||
11 | listen: | 12 | listen: |
12 | - port: 5222 | 13 | - port: 5222 |
13 | ip: "::" | 14 | ip: "::" |