How about placing devenv files in a single directory devenv or .devenv?
This is a very good tool that can help us manage the various development environments and tools of our large projects. We decided to adopt devenv. After starting to use it, I soon found that the number of files in the project root directory quickly exploded. Although we will only submit .envrc, devenv.lock, devenv.nix, devenv.yaml when submitting to the repository, we already have a large number of other similar files in the project root directory, which makes the root directory more complex. I hope devenv has a similar single directory management method like .devcontainer or flox to avoid the explosion of number. Is there a known solution that can do this, or is this not on the devenv roadmap at all?
The devenv.* files currently have to live in the root of the repo. This is a restriction we unfortunately inherit from Nix Flakes, which devenv is built on.
We are actively working on removing our dependency on Flakes[^1]. That will open up the opportunity for supporting alternative config locations.
.envrc is an optional third-party integration. That's not something we can change.
[^1]: No, we're not removing support for using devenv with flakes.
See #2061 for getting rid of .envrc.