diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/emacs/init.el | 1 | ||||
-rw-r--r-- | user/settings/development/base.nix | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index 3f6e1bc3..4e9d982b 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -974,6 +974,7 @@ _C-k_: prev _u_pper _=_: upper/lower _s_mart resolve (use-package envrc :defer 2 :config (progn + (setq envrc-show-summary-in-minibuffer nil) (envrc-global-mode))) (use-package magit diff --git a/user/settings/development/base.nix b/user/settings/development/base.nix index dcbf370f..e86a0b6e 100644 --- a/user/settings/development/base.nix +++ b/user/settings/development/base.nix @@ -60,6 +60,18 @@ 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 |