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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user