diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..3550a30 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use flake diff --git a/.gitignore b/.gitignore index 2a18f90..adc2821 100644 --- a/.gitignore +++ b/.gitignore @@ -6,5 +6,4 @@ build /ray-peat-rodeo /.direnv -/.envrc /node_modules diff --git a/README.md b/README.md index 3e655bf..ecd1f80 100644 --- a/README.md +++ b/README.md @@ -42,13 +42,13 @@ build this project. It's autogenerated by running `nix develop -c gomod2nix`. process automatically. - `./tailwind.config.js` tells tailwind how to do it's thing. -And finally, you may want to use `direnv` & `nix-direnv` to automatically load +And finally, you may wish to use [direnv](https://direnv.net) and +[nix-direnv](https://github.com/nix-community/nix-direnv) to automatically load all project dependencies and tools into your shell environment whilst you are -inside the project directory (auto unloads when you leave it). In the root of -the project directory: +inside the project directory (auto unloads when you leave it). In the project +directory: ```bash -cat "use flake" > .envrc direnv allow ```