anchor.diff:        phpOptions = ''
           error_log = 'stderr'
           log_errors = on
  -        post_max_size = 25M
  -        upload_max_filesize = 25M
  +        post_max_size = ${cfg.maxAttachmentSize}
  +        upload_max_filesize = ${cfg.maxAttachmentSize}
         '';
         settings = mapAttrs (name: mkDefault) {
           "listen.owner" = "nginx";
  
positive.code:       '';
      };
  
      extraConfig = mkOption {
        type = types.lines;
        default = "";
  
negative.code:       $config = array();
        $config['db_dsnw'] = 'pgsql://${cfg.database.username}${lib.optionalString (!localDB) ":' . $password . '"}@${if localDB then "unix(/run/postgresql)" else cfg.database.host}/${cfg.database.dbname}';
        $config['log_driver'] = 'syslog';
        $config['max_message_size'] =  '${cfg.maxAttachmentSize}';
        $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';
  