From b61841dd79f5674f5c2c083047f2fd1df0e65b70 Mon Sep 17 00:00:00 2001 From: Astro Date: Fri, 1 Jul 2022 00:27:10 +0200 Subject: [PATCH] config/c3d2: always prepend our hydra to nix.binaryCaches --- config/c3d2.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/c3d2.nix b/config/c3d2.nix index 481f8fbb..8906d849 100644 --- a/config/c3d2.nix +++ b/config/c3d2.nix @@ -153,9 +153,9 @@ in { binaryCachePublicKeys = lib.mkIf (config.networking.hostName != "hydra") [ (builtins.readFile ../hosts/hydra/cache-pub.key) ]; - binaryCaches = lib.mkIf (config.networking.hostName != "hydra") [ - "https://hydra.hq.c3d2.de" - ]; + binaryCaches = lib.mkIf (config.networking.hostName != "hydra") ( + lib.mkBefore [ "https://hydra.hq.c3d2.de" ] + ); gc = { automatic = true; dates = "06:00";