From 52d85eb5737ce40a1eba1f06131ebe0c793d2a5f Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Wed, 6 Sep 2023 06:51:22 +0800 Subject: [PATCH] config: update Nix settings --- flake.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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="