summaryrefslogtreecommitdiffhomepage
path: root/.envrc
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2022-11-23 22:12:48 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2022-12-11 17:31:37 -0500
commitfc49148876e94924d4218b078c212578bbec9c10 (patch)
treec4940ecf228b10cb89f47b2da000365d5bbcc4c6 /.envrc
sort how you want this to be
Diffstat (limited to '.envrc')
-rw-r--r--.envrc11
1 files changed, 11 insertions, 0 deletions
diff --git a/.envrc b/.envrc
new file mode 100644
index 0000000..9d85306
--- /dev/null
+++ b/.envrc
@@ -0,0 +1,11 @@
+use flake .
+NIX_ENFORCE_PURITY=0
+NixDirEnvVersion="2.2.0"
+if ! has nix_direnv_version || ! nix_direnv_version ${NixDirEnvVersion}; then
+# - https://github.com/nix-community/nix-direnv
+# source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/${NixDirEnvVersion}/direnvrc" "sha256-0000000000000000000000000000000000000000000="
+ source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/${NixDirEnvVersion}/direnvrc" "sha256-5EwyKnkJNQeXrRkYbwwRBcXbibosCJqyIUuz9Xq+LRc="
+fi
+if [ -f .envrc-local ]; then
+ source_env_if_exists .envrc-local || source .envrc-local
+fi