From d93b80e767b92c3f0e17469595d48c7e6abc6a55 Mon Sep 17 00:00:00 2001 From: Daniel Patterson Date: Mon, 25 Apr 2022 15:02:31 +0100 Subject: [PATCH] Add direnv --- users/daniel/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/users/daniel/default.nix b/users/daniel/default.nix index c3e5d21..6a99aa4 100644 --- a/users/daniel/default.nix +++ b/users/daniel/default.nix @@ -8,6 +8,7 @@ }: let cliPackages = with pkgs; [ aerc + direnv entr go_1_18 gomuks @@ -133,6 +134,9 @@ in { zsh = { enable = true; enableAutosuggestions = true; + initExtra = '' + eval "$(direnv hook zsh)" + ''; oh-my-zsh = { enable = true; plugins = ["git" "fzf"];