- Install Nix and enable support for flakes
- Install direnv and nix-direnv
- If using a graphical editor, install an extension to give it direnv support.
If no such extension is available,
cd
ing into the project directory and launching the editor from the terminal should cause it to inherit the environment; though the editor will likely need to be restarted to propagate any changes to the direnv setup to the editor if any such changes are made.