dotfiles/nixos/common/nixpkgs.nix
magic_rb 7de68b7864
Disable hydra substitution for now
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-02-11 01:24:52 +01:00

25 lines
493 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;
}