diff --git a/profiles/core.nix b/profiles/core.nix index fb87ce3..6b7fad7 100644 --- a/profiles/core.nix +++ b/profiles/core.nix @@ -15,6 +15,7 @@ in binutils coreutils curl + direnv dnsutils dosfstools fd @@ -122,9 +123,14 @@ in }; - programs.bash.promptInit = '' - eval "$(${pkgs.starship}/bin/starship init bash)" - ''; + programs.bash = { + promptInit = '' + eval "$(${pkgs.starship}/bin/starship init bash)" + ''; + shellInit = '' + eval "$(${pkgs.direnv}/bin/direnv hook bash)" + ''; + }; security = { diff --git a/profiles/develop/zsh/default.nix b/profiles/develop/zsh/default.nix index e18388d..4493b60 100644 --- a/profiles/develop/zsh/default.nix +++ b/profiles/develop/zsh/default.nix @@ -46,7 +46,6 @@ in systemPackages = with pkgs; [ bat bzip2 - direnv exa gitAndTools.hub gzip