I think it would be good to have support for "envfile:PATH" next to "env:NAME=value" with the gateway spec (https://codespeak.net/execnet/basics.html#execnet.makegateway).
This format should be the same as with Docker's --env-file, i.e. a NAME=value pair per line.