get emacs to use a nix-managed project's development environment

Emacs can pick up direnv, which in turn can have use flake and run nix develop inside the buffer. As long as your Nix Flake has a devShell, many package in emacs will respect it.

To verify: does eglot?

Validate