dev/base: configure direnv to not spam updated variables
Alan Pearce alan@alanpearce.eu
Sun, 28 Apr 2024 09:08:54 +0200
2 files changed, 13 insertions(+), 0 deletions(-)
M user/emacs/init.el → user/emacs/init.el
@@ -974,6 +974,7 @@ (use-package envrc :defer 2 :config (progn + (setq envrc-show-summary-in-minibuffer nil) (envrc-global-mode))) (use-package magit
M user/settings/development/base.nix → user/settings/development/base.nix
@@ -60,6 +60,18 @@ enable = true; nix-direnv = { enable = true; }; + config = { + global = { + disable_stdin = true; + strict_env = true; + hide_env_diff = true; + }; + whitelist = { + prefix = with config.home; [ + "${homeDirectory}/projects/alanpearce.eu" + ]; + }; + }; }; xdg.configFile."direnv/direnvrc".text = '' declare -A direnv_layout_dirs