Direnv and Nix are related in the sense that direnv has a `use flake` command that you can put in your .envrc to load the devShell defined in the project's flake.nix file. It's essentially just an automatic entry to the project's Nix-native devShells.
Edit: this is the only thing I use direnv for - I haven't used direnv without touching Nix.
Edit: this is the only thing I use direnv for - I haven't used direnv without touching Nix.