How to set views configurations settings on custom module install?
It is not possible to change or override configuration from other modules like that, you can only provide new, not yet existing configuration in config/install. The only exception to that rule are install profiles.

Instead, you need to implement hook_install() and alter the configuration there. See locale_install() for example:

\Drupal::configFactory()
  -&gt;getEditable('views_ui.settings')
  -&gt;set('ui.show.master_display', TRUE)
  -&gt;save();