Using a machine file on a cluster but also propagating environment to the remote workers

Interesting, how do you set that environment variable? Should I do export JULIA_PROJECT path/to/env on the login node or something else?