nixos/prosody: fix certs directory missing error

Prosody starts without it but not lay false leads for others to debug.
This commit is contained in:
Sandro Jäckel
2025-08-03 21:35:33 +02:00
parent a302465e0e
commit 76224149c1
@@ -920,6 +920,9 @@ in
environment.systemPackages = [ cfg.package ];
# prevent error if not all certs are configured by the user
environment.etc."prosody/certs/.dummy".text = "";
environment.etc."prosody/prosody.cfg.lua".source =
if cfg.checkConfig then
pkgs.runCommandLocal "prosody.cfg.lua"