mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-30 03:56:12 +01:00
aff0158ef7
Signed-off-by: magic_rb <magic_rb@redalder.org>
29 lines
500 B
Nix
29 lines
500 B
Nix
{
|
|
inputs',
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit
|
|
(lib)
|
|
flip
|
|
mapAttrs
|
|
;
|
|
in {
|
|
nix.registry =
|
|
flip mapAttrs inputs'
|
|
(
|
|
n: flake: {inherit flake;}
|
|
);
|
|
nix.settings = {
|
|
substituters = [
|
|
"https://cache.nixos.org/"
|
|
# "https://hydra.redalder.org/"
|
|
];
|
|
trusted-public-keys = [
|
|
"redalder-nix-cache-1:8t4zBJWgVtrfAOJ45iNHEqA/dDFV47Sr1sGa8ME9ru0="
|
|
];
|
|
experimental-features = ["flakes" "nix-command"];
|
|
};
|
|
nixpkgs.config.allowUnfree = true;
|
|
}
|