about summary refs log tree commit diff
path: root/machines/sternenseemann
diff options
context:
space:
mode:
Diffstat (limited to 'machines/sternenseemann')
-rw-r--r--machines/sternenseemann/base-laptop.nix5
-rw-r--r--machines/sternenseemann/wolfgang.nix1
2 files changed, 5 insertions, 1 deletions
diff --git a/machines/sternenseemann/base-laptop.nix b/machines/sternenseemann/base-laptop.nix
index 45b51135..c1197e95 100644
--- a/machines/sternenseemann/base-laptop.nix
+++ b/machines/sternenseemann/base-laptop.nix
@@ -51,6 +51,7 @@
         ffmpeg graphicsmagick
         pavucontrol
         emacs
+        direnv
       ] ++ pkgs.vuizvui.sternenseemann.scripts.default;
 
       variables = {
@@ -59,6 +60,10 @@
       };
     };
 
+    programs.bash.interactiveShellInit = ''
+      eval "$(direnv hook bash)"
+    '';
+
     # To accomodate old habits
     programs.fish.shellInit = ''
       alias nvim "emacsclient -n"
diff --git a/machines/sternenseemann/wolfgang.nix b/machines/sternenseemann/wolfgang.nix
index 70bda56e..7a3f2e97 100644
--- a/machines/sternenseemann/wolfgang.nix
+++ b/machines/sternenseemann/wolfgang.nix
@@ -66,7 +66,6 @@ in {
     vuizvui.sternenseemann.texlive jabref
     youtube-dl mpv spotify
     ghc cabal-install cabal2nix
-    direnv
     sbcl rlwrap
     valgrind gdb
     docker-compose