This commit is contained in:
Charlotte 🦝 Delenk 2022-07-01 19:36:28 +01:00
parent f1c2fa5a44
commit fa87ba939f
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
3 changed files with 1 additions and 7 deletions

View file

@ -16,7 +16,6 @@
require-sigs = true;
builders-use-substitutes = true;
substituters = [
"https://hydra.int.chir.rs/"
"https://f000.backblazeb2.com/file/cache-chir-rs/"
];
trusted-public-keys = [

View file

@ -159,7 +159,6 @@
"wasm32-wasi"
];
nix.settings.substituters = lib.mkForce [
"https://hydra.int.chir.rs/"
"https://cache.nixos.org/"
];
nix.buildMachines = lib.mkForce [

View file

@ -43,17 +43,13 @@ in {
<githubstatus>
jobs = .*
</githubstatus>
store_uri = s3://cache-chir-rs?scheme=https&endpoint=s3.us-west-000.backblazeb2.com&secret-key=${config.sops.secrets."services/hydra/cache-key".path}&multipart-upload=true&compression=zstd&compression-level=15
<hydra_notify>
<prometheus>
listen_address = 127.0.0.1
port = 9199
</prometheus>
</hydra_notify>
<runcommand>
job = *:*:*
command = nix copy --to 's3://cache-chir-rs?scheme=https&endpoint=s3.us-west-000.backblazeb2.com&secret-key=${config.sops.secrets."services/hydra/cache-key".path}&multipart-upload=true&compression=zstd&compression-level=15' $(cat $HYDRA_JSON | ${pkgs.jq}/bin/jq -r '.products[].path')
</runcommand>
binary_cache_secret_key_file = ${config.sops.secrets."services/hydra/cache-key".path}
'';
giteaTokenFile = "/run/secrets/services/hydra/gitea_token";
githubTokenFile = "/run/secrets/services/hydra/github_token";