I think that would be a good idea to substitute environment variables in the configuration file.
That could be done really easily using os.ExpandEnv on configuration string when loading configuration string.
That would be much easier to substitute environment variables only on configuration values. go -ini provides a valueMapper but yaml.v2 doesn't have such mechanism.