2023-06-11 23:09:59 +02:00
|
|
|
{
|
2024-03-02 22:05:30 +01:00
|
|
|
inputs',
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
inherit
|
|
|
|
(lib)
|
|
|
|
flip
|
|
|
|
mapAttrs
|
2024-06-02 20:47:34 +02:00
|
|
|
filterAttrs
|
|
|
|
const
|
2024-03-02 22:05:30 +01:00
|
|
|
;
|
|
|
|
in {
|
2023-06-11 23:09:59 +02:00
|
|
|
nix.registry =
|
2024-06-02 20:47:34 +02:00
|
|
|
flip mapAttrs (filterAttrs (n: const (n != "nixpkgs")) inputs')
|
2024-03-02 22:05:30 +01:00
|
|
|
(
|
|
|
|
n: flake: {inherit flake;}
|
|
|
|
);
|
2023-06-11 23:09:59 +02:00
|
|
|
nix.settings = {
|
2023-11-19 12:28:10 +01:00
|
|
|
substituters = [
|
|
|
|
"https://cache.nixos.org/"
|
2024-02-11 01:24:52 +01:00
|
|
|
# "https://hydra.redalder.org/"
|
2023-11-19 12:28:10 +01:00
|
|
|
];
|
|
|
|
trusted-public-keys = [
|
|
|
|
"redalder-nix-cache-1:8t4zBJWgVtrfAOJ45iNHEqA/dDFV47Sr1sGa8ME9ru0="
|
|
|
|
];
|
2024-03-06 13:41:33 +01:00
|
|
|
experimental-features = ["flakes" "nix-command" "ca-derivations" "recursive-nix" "dynamic-derivations"];
|
2023-06-11 23:09:59 +02:00
|
|
|
};
|
|
|
|
}
|