From b8d9e2ac9b98cd590b59a2eb58d0766882afe4c9 Mon Sep 17 00:00:00 2001 From: Brian McGee Date: Mon, 13 May 2024 10:24:26 +0100 Subject: [PATCH] feat: configure numtide binary cache Signed-off-by: Brian McGee --- flake.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/flake.nix b/flake.nix index 35a89b3..5cd4531 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,15 @@ { description = "Treefmt: once CLI to format your repo"; + nixConfig = { + extra-substituters = [ + "https://numtide.cachix.org" + ]; + extra-trusted-public-keys = [ + "numtide.cachix.org-1:2ps1kLBUWjxIneOy1Ik6cQjb41X0iXVXeHigGmycPPE=" + ]; + }; + inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; flake-parts = {