I also used to use direnv (and likewise eschewed .env), but more recently I moved env definitions to mise. Been working out nicely.