aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-05-24 22:47:44 -0300
committerEuAndreh <eu@euandre.org>2019-05-24 22:52:19 -0300
commit507bb8ee95890cd183282bf4898179456d521f73 (patch)
tree10bb44be1a1fec3cde05616fa6a24261dcd32a91
parentRefresh newsboat when opening (alias) (diff)
downloaddotfiles-507bb8ee95890cd183282bf4898179456d521f73.tar.gz
dotfiles-507bb8ee95890cd183282bf4898179456d521f73.tar.xz
Setup direnv hook
-rw-r--r--bash/agents.sh2
-rw-r--r--nixos/configuration.nix1
2 files changed, 3 insertions, 0 deletions
diff --git a/bash/agents.sh b/bash/agents.sh
index d49757b..698d1ac 100644
--- a/bash/agents.sh
+++ b/bash/agents.sh
@@ -24,3 +24,5 @@ start_agent() {
} || start_agent
gpg -q -d "$DOTFILES/bash/debug.gpg"
+
+eval "$(direnv hook bash)"
diff --git a/nixos/configuration.nix b/nixos/configuration.nix
index b555977..fd2fd15 100644
--- a/nixos/configuration.nix
+++ b/nixos/configuration.nix
@@ -182,6 +182,7 @@ in
bazel
graphviz # =dot= and others
mkpasswd
+ direnv
diffoscope #
poppler_utils # used by diffoscope for comparing PDF files