From 7f4164740735308f38de8b2b2f1238d4d380407d Mon Sep 17 00:00:00 2001 From: klarkc Date: Wed, 3 Jan 2024 00:20:45 -0300 Subject: [PATCH] fix(cache): add common substituters to solve untrusted verifications --- setups/cache/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/setups/cache/default.nix b/setups/cache/default.nix index 6ea28b3..6ae5261 100644 --- a/setups/cache/default.nix +++ b/setups/cache/default.nix @@ -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