How to set Nuke environment variables per project

What you’re looking for is Tool Definitions and applying Tools filtering, etc.

See: