Skip to content

Commit

Permalink
Add .envrc to source control
Browse files Browse the repository at this point in the history
  • Loading branch information
marcuswhybrow committed Apr 12, 2024
1 parent 99aa14c commit 913bb0e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use flake
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ build
/ray-peat-rodeo

/.direnv
/.envrc
/node_modules
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down

0 comments on commit 913bb0e

Please sign in to comment.