From c8094c2f0376b70474106f3284fcbfe8c6a2c874 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 1 Aug 2025 04:32:30 +0200 Subject: [PATCH] nixos/prosody: fix logged error that /etc/mime.types cannot be found --- nixos/modules/services/networking/prosody.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/modules/services/networking/prosody.nix b/nixos/modules/services/networking/prosody.nix index 7810e4488b7f..e92d5c33ee7b 100644 --- a/nixos/modules/services/networking/prosody.nix +++ b/nixos/modules/services/networking/prosody.nix @@ -552,6 +552,8 @@ let http_ports = ${toLua cfg.httpPorts} https_ports = ${toLua cfg.httpsPorts} + mime_types_file = "${pkgs.mailcap}/etc/mime.types" + ${cfg.extraConfig} ${lib.concatMapStrings (muc: ''