diff options
author | Symphorien Gibol <symphorien+git@xlumurb.eu> | 2020-01-05 12:00:00 +0000 |
---|---|---|
committer | Symphorien Gibol <symphorien+git@xlumurb.eu> | 2020-01-18 16:12:50 +0100 |
commit | b5d692e12336b594c12c6ee1a21e7c3181c6ed98 (patch) | |
tree | ae4382c05891c32f61d8c3bd019bfb02e391ef4a /nixos | |
parent | b6e6bec57c7ad457ae90a809a9a064b879c7e5f2 (diff) | |
download | nixlib-b5d692e12336b594c12c6ee1a21e7c3181c6ed98.tar nixlib-b5d692e12336b594c12c6ee1a21e7c3181c6ed98.tar.gz nixlib-b5d692e12336b594c12c6ee1a21e7c3181c6ed98.tar.bz2 nixlib-b5d692e12336b594c12c6ee1a21e7c3181c6ed98.tar.lz nixlib-b5d692e12336b594c12c6ee1a21e7c3181c6ed98.tar.xz nixlib-b5d692e12336b594c12c6ee1a21e7c3181c6ed98.tar.zst nixlib-b5d692e12336b594c12c6ee1a21e7c3181c6ed98.zip |
nixos/roundcube: provide path to mime.types file
fixes this warning: WARNING: Mimetype to file extension mapping doesn't work properly!
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/mail/roundcube.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/mail/roundcube.nix b/nixos/modules/services/mail/roundcube.nix index 22c14666a3a7..0bb0eaedad50 100644 --- a/nixos/modules/services/mail/roundcube.nix +++ b/nixos/modules/services/mail/roundcube.nix @@ -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} ''; |