ZIO/ZLayer FAQ: How to use a Typesafe Config HOCON properties file with ZIO
Briefly

My preferred approach is to hand-code this solution. That's probably because I've written code before to read a HOCON file, so it's more straightforward atm.
Typesafe HOCON configuration file needs to be on the application classpath like src/main/resources. Failure leads to configuration setting errors.
The ZIO code demonstrates reading a HOCON file, converting it to Config, then creating an AppProperties instance from specified properties.
Read at Alvinalexander
[
]
[
|
]