From d5c760d9813d66de71786c6343afa8c4b1526696 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sun, 16 Jul 2023 10:55:37 +0300 Subject: 2023-07-16 --- modules/common/direnv.nix | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'modules/common/direnv.nix') diff --git a/modules/common/direnv.nix b/modules/common/direnv.nix index 6ec39d1..743f3cf 100644 --- a/modules/common/direnv.nix +++ b/modules/common/direnv.nix @@ -10,13 +10,17 @@ in { mkEnableOption "direnv"; config = mkIf cfg.enable { - hm.programs.direnv = { - enable = true; - config.global = { - strict_env = true; - warn_timeout = 0; + hm = { + home.sessionVariables.DIRENV_LOG_FORMAT = ""; + + programs.direnv = { + enable = true; + config.global = { + strict_env = true; + warn_timeout = "1h"; + }; + nix-direnv.enable = true; }; - nix-direnv.enable = true; }; }; } -- cgit 1.4.1