PostgreSQL listen_address is hardcoded

I’m trying to use PostgreSQL in combination with a TT-RSS container.
To do that I would like to bind Postgres to the IP in the docker network ( however from the option provide I can only listen on all IPs when I enable the option enableTCPIP or the socket.
Is there a way to change this so that I can use only the internal IPs?
I might try as well to mount the socket into the container at a later point but the setup I’m trying to build here is already working with MariaDB.

Try services.postgresql.settings.listen_adresses = "....". If that complains about priority try = lib.mkForce "..."

Ah nice didn’t know about lib.mkForce.
I will give it a try, thank you!