From eab924bbaf87b9f64bf0af106e6b304b1040989c Mon Sep 17 00:00:00 2001 From: matthewcroughan Date: Tue, 21 Feb 2023 17:49:08 +0000 Subject: [PATCH] flake: add substituters to nixConfig This caches the outputs of the Flake via Cachix --- flake.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index f672acc..6bbb870 100644 --- a/flake.nix +++ b/flake.nix @@ -1,5 +1,8 @@ { - description = "A very basic flake"; + nixConfig = { + extra-substituters = [ "https://ai.cachix.org" ]; + extra-trusted-public-keys = [ "ai.cachix.org-1:N9dzRK+alWwoKXQlnn0H6aUx0lU/mspIoz8hMvGvbbc=" ]; + }; inputs = { nixpkgs = {