Skip to content

Commit d856eee

Browse files
committed
add mamba cache
1 parent 269cd7f commit d856eee

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

nix/metal/bitteProfile/spongix.nix

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
pkgs,
55
lib,
66
...
7-
}: let
8-
inherit (builtins) toJSON fromJSON;
9-
in {
7+
}: {
108
imports = [inputs.spongix.nixosModules.spongix];
119

1210
services.spongix = {
@@ -17,8 +15,12 @@ in {
1715
port = 7745;
1816
gcInterval = "1h";
1917
secretKeyFiles.ci-world = config.secrets.install.spongix-secret-key.target;
20-
substituters = ["https://hydra.iohk.io"];
18+
substituters = [
19+
"https://hydra.iohk.io"
20+
"https://iohk-mamba-bitte.s3.eu-central-1.amazonaws.com/infra/binary-cache"
21+
];
2122
trustedPublicKeys = [
23+
"mamba-testnet-0:bLL+QUo+WSSYJZP5NA9VY97DyIj3YV5US4C6YLHNPGc="
2224
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
2325
(lib.fileContents (config.secrets.encryptedRoot + "/nix-public-key-file"))
2426
(lib.fileContents (config.secrets.encryptedRoot + "/spongix-public-key-file"))

0 commit comments

Comments
 (0)