Creating a Layer from Config without `Effect.map(identity)`

Is there any shortcut to this? To create a layer from a config without that last Effect.map(identity)?
  static Live = Layer.effect(
    this,
    Config
      .all({
        account: Config.string('JAZZ_ACCOUNT'),
        password: Config.redacted('JAZZ_PASSWORD'),
      })
      .pipe(Effect.map(identity)),
  );
Was this page helpful?