config: update Nix settings

This commit is contained in:
Gabriel Arazas 2023-09-06 06:51:22 +08:00
parent 0cb0e21ce9
commit 52d85eb573
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

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