config/c3d2: always prepend our hydra to nix.binaryCaches

This commit is contained in:
Astro 2022-07-01 00:27:10 +02:00
parent 5a79f04b39
commit b61841dd79
1 changed files with 3 additions and 3 deletions

View File

@ -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";