Skip to content

Commit

Permalink
fix(cache): add common substituters to solve untrusted verifications
Browse files Browse the repository at this point in the history
  • Loading branch information
klarkc committed Jan 3, 2024
1 parent 976ab3d commit 7f41647
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions setups/cache/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,21 @@ let
};
nix.settings.trusted-substituters = [
"https://${domain}"
# TODO check if common substituters are really required
# common substituters
"https://klarkc.cachix.org"
"https://cache.iog.io"
"https://cache.zw3rk.com"
"https://hercules-ci.cachix.org"
"https://horizon.cachix.org"
];
nix.settings.trusted-public-keys = [
(builtins.readFile ../../secrets/cache.pub)
"klarkc.cachix.org-1:R+z+m4Cq0hMgfZ7AQ42WRpGuHJumLLx3k0XhwpNFq9U="
"hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
"loony-tools:pr9m4BkM/5/eSTZlkQyRt57Jz7OMBxNSUiMC4FkcNfk="
"hercules-ci.cachix.org-1:ZZeDl9Va+xe9j+KqdzoBZMFJHVQ42Uu/c/1/KMC5Lw0="
"horizon.cachix.org-1:MeEEDRhRZTgv/FFGCv3479/dmJDfJ82G6kfUDxMSAw0="
];
nix.extraOptions = ''
min-free = 2684354560
Expand Down

0 comments on commit 7f41647

Please sign in to comment.