diff --git a/nixos/modules/services/networking/prosody.nix b/nixos/modules/services/networking/prosody.nix index c270b1465122..b097843c1c9d 100644 --- a/nixos/modules/services/networking/prosody.nix +++ b/nixos/modules/services/networking/prosody.nix @@ -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"