diff --git a/flake.nix b/flake.nix index 06b9ade8..e662ed89 100644 --- a/flake.nix +++ b/flake.nix @@ -266,12 +266,15 @@ nix.package = pkgs.nixUnstable; # Set the configurations for the package manager. - nix.settings = { - # Set several binary caches. + nix.settings = let substituters = [ "https://nix-community.cachix.org" "https://foo-dogsquared.cachix.org" ]; + in { + # Set several binary caches. + inherit substituters; + trusted-substituters = substituters; trusted-public-keys = [ "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" "foo-dogsquared.cachix.org-1:/2fmqn/gLGvCs5EDeQmqwtus02TUmGy0ZlAEXqRE70E="