From d64169c2379be8a906153e5bff236515eea4724f Mon Sep 17 00:00:00 2001 From: liv Date: Tue, 13 Aug 2024 21:20:51 +0200 Subject: [PATCH] enable direnv --- home/common/cli/default.nix | 1 + home/common/cli/direnv.nix | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 home/common/cli/direnv.nix 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; + }; +}