diff --git a/common/home/default.nix b/common/home/default.nix index 978cfb12..b86d8a13 100644 --- a/common/home/default.nix +++ b/common/home/default.nix @@ -1,6 +1,7 @@ {...}: { imports = [ ./bash + ./direnv ./git ./neovim ./nix-index diff --git a/common/home/direnv/default.nix b/common/home/direnv/default.nix new file mode 100644 index 00000000..f4152f1a --- /dev/null +++ b/common/home/direnv/default.nix @@ -0,0 +1,10 @@ +{pkgs, ...}: { + programs.direnv = { + enable = true; + enableBashIntegration = true; + nix-direnv = { + enable = true; + package = pkgs.nix-direnv-flakes; + }; + }; +}