nix: shared cache

This commit is contained in:
Daniel Lundin 2024-08-09 19:17:04 +02:00
parent b636050ab6
commit 605e75220a
No known key found for this signature in database

View file

@ -19,8 +19,15 @@
flake-registry = ""; flake-registry = "";
# Workaround for https://github.com/NixOS/nix/issues/9574 # Workaround for https://github.com/NixOS/nix/issues/9574
nix-path = config.nix.nixPath; nix-path = config.nix.nixPath;
substituters = [ "https://cache.nixos.org/" ]; substituters = [
trusted-public-keys = [ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" ]; "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; channel.enable = false;
registry = lib.mapAttrs (_: flake: { inherit flake; }) flakeInputs; registry = lib.mapAttrs (_: flake: { inherit flake; }) flakeInputs;