diff --git a/home/common/cli/default.nix b/home/common/cli/default.nix index d1de6fb..789ea1f 100644 --- a/home/common/cli/default.nix +++ b/home/common/cli/default.nix @@ -4,6 +4,7 @@ ./fish.nix # fish shell configuration ./neovim.nix # neovim configuration, my "escape" editor ./lazygit.nix # my preferred git porcellain + ./direnv.nix # smart cding ]; home.packages = with pkgs; [ diff --git a/home/common/cli/direnv.nix b/home/common/cli/direnv.nix new file mode 100644 index 0000000..37f267d --- /dev/null +++ b/home/common/cli/direnv.nix @@ -0,0 +1,6 @@ +{ ... }: { + programs.direnv = { + enable = true; + nix-direnv.enable = true; + }; +}