From dc56fe7194a3cf8be13f8dadef8002ad6c52d0bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 13 Nov 2023 01:50:59 +0100 Subject: [PATCH] Fail faster when hydra is not reachable --- config/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/config/default.nix b/config/default.nix index f2e29caa..5c7dc3d6 100644 --- a/config/default.nix +++ b/config/default.nix @@ -113,6 +113,7 @@ trusted-public-keys = [ "nix-cache.hq.c3d2.de:KZRGGnwOYzys6pxgM8jlur36RmkJQ/y8y62e52fj1ps=" ]; + stalled-download-timeout = 60; # in case hydra is not reachable fail faster # don't self feed hydra substituters = lib.mkIf (config.networking.hostName != "hydra") ( lib.mkBefore [ "https://nix-cache.hq.c3d2.de" ]