What's the state of {:system, "VAR"[, default]} config in Elixir?


I most often find in libraries config entries like {:system, "VAR"}, which are quite handy when you don’t want to play around with release env keys replacement. The issue I see is that everyone is reimplementing this logic over and over again.

The question is: Are there any plans of implementing this stuff inside the Mix/Application config module? If not then why?


There is a Config helper that lets you do things like that for your app floating around somewhere, and there is a library on Hex that does that too and more (like parsing), but yes, I definitely agree that something like that should be on the Application module in elixir.