2023-06-11 23:09:59 +02:00
|
|
|
{ inputs', lib, ... }:
|
|
|
|
let
|
|
|
|
inherit (lib)
|
|
|
|
flip
|
|
|
|
mapAttrs;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
nix.registry =
|
|
|
|
flip mapAttrs inputs'
|
|
|
|
(
|
|
|
|
n: flake: {inherit flake;}
|
|
|
|
);
|
|
|
|
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="
|
|
|
|
];
|
2023-06-11 23:09:59 +02:00
|
|
|
experimental-features = [ "flakes" "nix-command" ];
|
|
|
|
};
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
}
|