summaryrefslogtreecommitdiff
path: root/ymir.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-04-13 13:18:43 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2016-04-13 13:18:43 +0200
commitbbd321b66cadce0071eb77f5423786bb2e8a7b93 (patch)
treeb298263419a7f8b4f4a0899a88ab4bb842093948 /ymir.nix
parent884deba3af5ea64d9e13ebe5254e48d04e0996c8 (diff)
downloadnixos-bbd321b66cadce0071eb77f5423786bb2e8a7b93.tar
nixos-bbd321b66cadce0071eb77f5423786bb2e8a7b93.tar.gz
nixos-bbd321b66cadce0071eb77f5423786bb2e8a7b93.tar.bz2
nixos-bbd321b66cadce0071eb77f5423786bb2e8a7b93.tar.xz
nixos-bbd321b66cadce0071eb77f5423786bb2e8a7b93.zip
reload prosodyctl to capture new ssl certs
Diffstat (limited to 'ymir.nix')
-rw-r--r--ymir.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/ymir.nix b/ymir.nix
index 99f473fb..79e5a41e 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -138,6 +138,7 @@ in rec {
138 %monthly * * * ${simp_le "yggdrasil.li"} 138 %monthly * * * ${simp_le "yggdrasil.li"}
139 %monthly * * * ${simp_le "praseodym.org"} 139 %monthly * * * ${simp_le "praseodym.org"}
140 %daily * * systemctl reload nginx.service 140 %daily * * systemctl reload nginx.service
141 %daily * * prosodyctl reload
141 ''; 142 '';
142 }; 143 };
143 144
@@ -160,8 +161,10 @@ in rec {
160 extraModules = [ "private" 161 extraModules = [ "private"
161 "auth_custom" 162 "auth_custom"
162 "carbons" 163 "carbons"
164 "reload_modules"
163 ]; 165 ];
164 extraConfig = '' 166 extraConfig = ''
167 reload_modules = { "group", "tls" }
165 authentication="custom" 168 authentication="custom"
166 custom_alias_file="/etc/prosody/aliases" 169 custom_alias_file="/etc/prosody/aliases"
167 custom_alias_secret_file="/etc/prosody/alias_secret" 170 custom_alias_secret_file="/etc/prosody/alias_secret"