From ab63f2eb09ed6633a7fad7a1a72b60bb14d5c85c Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sun, 9 Jul 2023 14:22:15 +0300 Subject: 2023-07-09 --- modules/common/direnv.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'modules/common/direnv.nix') diff --git a/modules/common/direnv.nix b/modules/common/direnv.nix index b235cee..6ec39d1 100644 --- a/modules/common/direnv.nix +++ b/modules/common/direnv.nix @@ -10,13 +10,13 @@ in { mkEnableOption "direnv"; config = mkIf cfg.enable { - hm = { - programs.direnv = { - enable = true; - nix-direnv.enable = true; + hm.programs.direnv = { + enable = true; + config.global = { + strict_env = true; + warn_timeout = 0; }; - - home.sessionVariables.DIRENV_LOG_FORMAT = ""; + nix-direnv.enable = true; }; }; } -- cgit v1.2.3