From be5ae5c5b4cd28e3254b7ee5c693889579a153ab Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 12 Aug 2021 15:22:23 +0800 Subject: [PATCH] flake: configure binary cache --- flake.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/flake.nix b/flake.nix index 800212727..b276c11b5 100644 --- a/flake.nix +++ b/flake.nix @@ -104,4 +104,9 @@ defaultPackage.x86_64-linux = python3.withPackages(ps: [ packages.x86_64-linux.artiq ]); }; + + nixConfig = { + binaryCachePublicKeys = ["nixbld.m-labs.hk-1:5aSRVA5b320xbNvu30tqxVPXpld73bhtOeH6uAjRyHc="]; + binaryCaches = ["https://nixbld.m-labs.hk" "https://cache.nixos.org"]; + }; }