From d42ee8edeb7983ca7031a334c8f6c36f9c102595 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 28 Apr 2024 09:08:54 +0200 Subject: dev/base: configure direnv to not spam updated variables --- user/settings/development/base.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'user/settings/development') 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 -- cgit 1.4.1