summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorx10an14 <x10an14@users.noreply.github.com>2023-08-30 18:03:45 +0200
committerx10an14 <x10an14@users.noreply.github.com>2023-08-30 18:03:45 +0200
commit013f22c89cba7dbd935b58392a1a7d8cdcdc7eb7 (patch)
treeffb9ad3e9f033383e3c82a1ae3fe3b37d8ab3de7
parent2d1da2ab57080e32725612ffddb82006f47f7f71 (diff)
improvement(development): Add nix-direnv integration
So as to automatically open a nix devShell for those who use direnv/want to use direnv to make their lives more automated.
-rw-r--r--.envrc4
-rw-r--r--.gitignore1
2 files changed, 5 insertions, 0 deletions
diff --git a/.envrc b/.envrc
new file mode 100644
index 0000000..4854106
--- /dev/null
+++ b/.envrc
@@ -0,0 +1,4 @@
+#!/usr/bin/env bash
+
+# Automatically Load nix devShell w/dotenv
+use flake
diff --git a/.gitignore b/.gitignore
index 88bf2b6..f319d39 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,6 +12,7 @@ rust-project.json
*.iml
*.o
public/
+.direnv/
# Local Netlify folder
.netlify