diff options
author | tv <tv@krebsco.de> | 2022-08-22 14:58:40 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2022-10-08 23:29:23 +0200 |
commit | 876fd5404d0bc9f838119505a4b7a9b7bdb60e9e (patch) | |
tree | a5878cb74d7b4c454fbf20f04a9c71ea2223de7a /tv/3modules/ejabberd/config.nix | |
parent | c6aec96a556e56f7faf9eeb53202dd5a1a6cefc8 (diff) |
tv ejabberd: use dynamic user
Diffstat (limited to 'tv/3modules/ejabberd/config.nix')
-rw-r--r-- | tv/3modules/ejabberd/config.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tv/3modules/ejabberd/config.nix b/tv/3modules/ejabberd/config.nix index a022bc448..cc4dbcfb1 100644 --- a/tv/3modules/ejabberd/config.nix +++ b/tv/3modules/ejabberd/config.nix @@ -62,7 +62,7 @@ in /* yaml */ '' module: ejabberd_c2s shaper: c2s_shaper ciphers: ${toJSON ciphers} - dhfile: /var/lib/ejabberd/dhfile + dhfile: ${config.stateDir}/dhfile protocol_options: ${toJSON protocol_options} starttls: true starttls_required: true @@ -112,7 +112,7 @@ in /* yaml */ '' s2s_access: s2s s2s_ciphers: ${toJSON ciphers} - s2s_dhfile: /var/lib/ejabberd/dhfile + s2s_dhfile: ${config.stateDir}/dhfile s2s_protocol_options: ${toJSON protocol_options} s2s_tls_compression: false s2s_use_starttls: required |