Fail faster when hydra is not reachable
This commit is contained in:
parent
0ec3af026e
commit
dc56fe7194
|
@ -113,6 +113,7 @@
|
||||||
trusted-public-keys = [
|
trusted-public-keys = [
|
||||||
"nix-cache.hq.c3d2.de:KZRGGnwOYzys6pxgM8jlur36RmkJQ/y8y62e52fj1ps="
|
"nix-cache.hq.c3d2.de:KZRGGnwOYzys6pxgM8jlur36RmkJQ/y8y62e52fj1ps="
|
||||||
];
|
];
|
||||||
|
stalled-download-timeout = 60; # in case hydra is not reachable fail faster
|
||||||
# don't self feed hydra
|
# don't self feed hydra
|
||||||
substituters = lib.mkIf (config.networking.hostName != "hydra") (
|
substituters = lib.mkIf (config.networking.hostName != "hydra") (
|
||||||
lib.mkBefore [ "https://nix-cache.hq.c3d2.de" ]
|
lib.mkBefore [ "https://nix-cache.hq.c3d2.de" ]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user