summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.env.template1
-rw-r--r--.envrc1
-rw-r--r--.gitignore3
3 files changed, 5 insertions, 0 deletions
diff --git a/.env.template b/.env.template
new file mode 100644
index 0000000..60492e1
--- /dev/null
+++ b/.env.template
@@ -0,0 +1 @@
+TOKEN=AAAAAAAAAAAAAAAAAAAAAAAAAA.AMOGUS.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
diff --git a/.envrc b/.envrc
index e31c306..1b6637e 100644
--- a/.envrc
+++ b/.envrc
@@ -2,3 +2,4 @@ if ! has nix_direnv_version || ! nix_direnv_version 2.2.1; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.2.1/direnvrc" "sha256-zelF0vLbEl5uaqrfIzbgNzJWGmLzCmYAkInj/LNxvKs="
fi
use flake
+dotenv_if_exists
diff --git a/.gitignore b/.gitignore
index dc8daf1..5b6ba37 100644
--- a/.gitignore
+++ b/.gitignore
@@ -18,5 +18,8 @@ Cargo.lock
result
.pre-commit-config.yaml
+# Used to supply a token together with direnv
+.env
+
# mac stuff (you're welcome sake)
**/.DS_Store