1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00

nixos/roundcube: provide path to mime.types file

fixes this warning:
WARNING: Mimetype to file extension mapping doesn't work properly!
This commit is contained in:
Symphorien Gibol 2020-01-05 12:00:00 +00:00
parent b6e6bec57c
commit b5d692e123

View file

@ -108,6 +108,7 @@ in
$config['max_message_size'] = '25M';
$config['plugins'] = [${concatMapStringsSep "," (p: "'${p}'") cfg.plugins}];
$config['des_key'] = file_get_contents('/var/lib/roundcube/des_key');
$config['mime_types'] = '${pkgs.nginx}/conf/mime.types';
${cfg.extraConfig}
'';