Do any of these cover what you seek?
Document how to set environment variables for user notebooks TLJH-How to set env vars for users after but not for the spawner