diff --git a/users/modules/sh.nix b/users/modules/sh.nix index d4389f8..36f4db4 100644 --- a/users/modules/sh.nix +++ b/users/modules/sh.nix @@ -7,4 +7,12 @@ ai = "aichat -r %shell% -e"; }; }; + + # direnv lets us declare a .envrc in each project directory + # and updates the shell with the packages specified. + programs.direnv = { + enable = true; + enableBashIntegration = true; + nix-direnv.enable = true; + }; }