From 74279b5e03801a66330e6e096d46cd99591c6c0f Mon Sep 17 00:00:00 2001 From: Emmet Date: Wed, 26 Jul 2023 13:10:19 -0500 Subject: [PATCH] Added direnv with nix-direnv and zsh integration --- user/app/doom-emacs/packages.el | 1 + user/shell/sh.nix | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/user/app/doom-emacs/packages.el b/user/app/doom-emacs/packages.el index 69d421b..f967cdd 100644 --- a/user/app/doom-emacs/packages.el +++ b/user/app/doom-emacs/packages.el @@ -1,3 +1,4 @@ +(package! direnv) (package! org-modern) (package! org-super-agenda) (package! emacsql :pin "c1a4407") diff --git a/user/shell/sh.nix b/user/shell/sh.nix index ff59c9c..1ba0fef 100644 --- a/user/shell/sh.nix +++ b/user/shell/sh.nix @@ -34,5 +34,10 @@ in neofetch lolcat cowsay gnugrep gnused bat exa bottom fd + direnv nix-direnv ]; + + programs.direnv.enable = true; + programs.direnv.enableZshIntegration = true; + programs.direnv.nix-direnv.enable = true; }