title: NestJS Using ConfigService with TypeOrmModule
body: <p>I set up a ConfigService as described in docs <a href="https://docs.nestjs.com/techniques/configuration" rel="noreferrer">https://docs.nestjs.com/techniques/configuration</a> </p>
  
  <p>How can I use this service with the the TypeOrmModule? </p>
  
  <pre><code>TypeOrmModule.forRoot({
    type: 'mysql',
    host: 'localhost',
    port: 3306,
    username: 'root',
    password: 'root',
    database: 'test',
    entities: [__dirname + '/**/*.entity{.ts,.js}'],
    synchronize: true,
  }),
  </code></pre>