summaryrefslogtreecommitdiff
path: root/.envrc
diff options
context:
space:
mode:
authorseth <[email protected]>2024-05-22 22:00:02 -0400
committerseth <[email protected]>2024-05-22 20:45:24 -0600
commit8fd8b7e53d59a034706dd7eaad6b608721ce3cdb (patch)
tree2ce7e4a8b7eafc9d8550a54aa6d4f34d678d76f5 /.envrc
parent329bf8a3384474cfe45ecae142dfb7d97b699aa2 (diff)
move to zola
Diffstat (limited to '.envrc')
-rw-r--r--.envrc8
1 files changed, 2 insertions, 6 deletions
diff --git a/.envrc b/.envrc
index 2df127c..7b20dce 100644
--- a/.envrc
+++ b/.envrc
@@ -1,10 +1,6 @@
# only use flake when `nix` is present
-if command -v nix &> /dev/null; then
- if ! has nix_direnv_version || ! nix_direnv_version 3.0.4; then
- source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.4/direnvrc" "sha256-DzlYZ33mWF/Gs8DDeyjr8mnVmQGx7ASYqA5WlxwvBG4="
- fi
-
- use flake
+if has nix_direnv_version; then
+ use flake
fi
dotenv_if_exists