From 605e75220a78f538a3f10c50c04e5f80be0500ed Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Fri, 9 Aug 2024 19:17:04 +0200 Subject: [PATCH] nix: shared cache --- common/nix.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/common/nix.nix b/common/nix.nix index c94c16d..825636b 100644 --- a/common/nix.nix +++ b/common/nix.nix @@ -19,8 +19,15 @@ flake-registry = ""; # Workaround for https://github.com/NixOS/nix/issues/9574 nix-path = config.nix.nixPath; - substituters = [ "https://cache.nixos.org/" ]; - trusted-public-keys = [ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" ]; + substituters = [ + "https://nix-attic.aarn.shelman.io/shared" + "https://cache-nixos-org.aarn.shelman.io" + "https://cache.nixos.org/" + ]; + trusted-public-keys = [ + "shared:vbOVOQpXO/hLiTJ/7FmtSio75ZE25+mNGOC+a4TcV84=" + "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" + ]; }; channel.enable = false; registry = lib.mapAttrs (_: flake: { inherit flake; }) flakeInputs;