From cc0c73dbb5336a7f09f754315cbb472ed9a50d1a Mon Sep 17 00:00:00 2001 From: Jez Cope Date: Mon, 9 May 2022 21:11:23 +0100 Subject: [PATCH] cachix: update to use nix.binaryCaches --- cachix.nix | 3 +-- cachix/nix-community.nix | 7 +++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/cachix.nix b/cachix.nix index 332fc55..88b2f08 100644 --- a/cachix.nix +++ b/cachix.nix @@ -9,6 +9,5 @@ let imports = lib.mapAttrsToList toImport (lib.filterAttrs filterCaches (builtins.readDir folder)); in { inherit imports; - nix.settings.substituters = ["https://cache.nixos.org/"]; + nix.binaryCaches = ["https://cache.nixos.org/"]; } - diff --git a/cachix/nix-community.nix b/cachix/nix-community.nix index 2978cfe..427a518 100644 --- a/cachix/nix-community.nix +++ b/cachix/nix-community.nix @@ -1,12 +1,11 @@ { - nix.settings = { - substituters = [ + nix = { + binaryCaches = [ "https://nix-community.cachix.org" ]; - trusted-public-keys = [ + binaryCachePublicKeys = [ "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" ]; }; } -