aboutsummaryrefslogtreecommitdiff
path: root/.envrc
diff options
context:
space:
mode:
authorJustin Bedo <cu@cua0.org>2020-11-02 11:17:05 +1100
committerJustin Bedo <cu@cua0.org>2020-11-02 14:45:34 +1100
commit8aaecc9093be8531c7c25e24b6b2464536458eee (patch)
tree3c1395d0ade06a30c57ac01ed90f3a045cc44843 /.envrc
init
Diffstat (limited to '.envrc')
-rw-r--r--.envrc9
1 files changed, 9 insertions, 0 deletions
diff --git a/.envrc b/.envrc
new file mode 100644
index 0000000..dc4ab2a
--- /dev/null
+++ b/.envrc
@@ -0,0 +1,9 @@
+use_flake() {
+ watch_file flake.nix
+ watch_file flake.lock
+ watch_file shell.nix
+ watch_file default.nix
+ watch_file tex.nix
+ eval "$(nix print-dev-env)"
+}
+use flake