From f93944a79922cd1c431077542552472358215478 Mon Sep 17 00:00:00 2001 From: sterni Date: Fri, 7 Oct 2022 19:54:29 +0200 Subject: feat(sterni/machines/edwin): activate headcounter binary cache Occasionally I debug i686-linux builds on this machine, the headcounter.org binary cache (despite being slow due to Hydra serving it) speeds this up with significant cache available. Change-Id: Ic8bc6139cf31f412676ef2925ceb726740987ff0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7295 Reviewed-by: sterni Tested-by: BuildkiteCI --- users/sterni/machines/edwin/default.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'users') diff --git a/users/sterni/machines/edwin/default.nix b/users/sterni/machines/edwin/default.nix index ebf691c8d9ab..af1dceada51c 100644 --- a/users/sterni/machines/edwin/default.nix +++ b/users/sterni/machines/edwin/default.nix @@ -21,7 +21,17 @@ time.timeZone = "Europe/Berlin"; nixpkgs.config.allowUnfreeRedistributable = true; - nix.package = pkgs.nix_2_3; + nix = { + package = pkgs.nix_2_3; + settings = { + trusted-public-keys = lib.mkAfter [ + "headcounter.org:/7YANMvnQnyvcVB6rgFTdb8p5LG1OTXaO+21CaOSBzg=" + ]; + substituters = lib.mkAfter [ + "https://hydra.build" + ]; + }; + }; tvl.cache.enable = true; services = { -- cgit 1.4.1