From b0d2782369fb7efe780a0670802305533068a2b2 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Thu, 17 Mar 2022 01:25:44 +0000 Subject: [PATCH] nixos/vault-agent: set a longer timeout on HTTP requests to upstream --- ops/nixos/lib/vault-agent.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/ops/nixos/lib/vault-agent.nix b/ops/nixos/lib/vault-agent.nix index 87aef09d1f..925fee316f 100644 --- a/ops/nixos/lib/vault-agent.nix +++ b/ops/nixos/lib/vault-agent.nix @@ -69,6 +69,7 @@ in after = [ "network.target" ]; wantedBy = [ "multi-user.target" ]; path = with pkgs; [ glibc.bin ]; + environment.VAULT_CLIENT_TIMEOUT = "15m"; serviceConfig = { RuntimeDirectory = "vault-agent"; RuntimeDirectoryMode = "0700";