How to add permissions and configure links to a module in the /admin/modules page?
Configure is the configure key in yourmodule.info.yml, containing a route name, usually your primary settings form/page.

Permissions link automatically shows by having permissions defined in your module.