about summary refs log tree commit diff
path: root/users/sterni/machines/edwin/default.nix
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2022-10-07T17·54+0200
committersterni <sternenseemann@systemli.org>2022-11-26T15·51+0000
commitf93944a79922cd1c431077542552472358215478 (patch)
tree59e92951dcd7972c3f02d7ca9883c1a83a570cd8 /users/sterni/machines/edwin/default.nix
parentb4c0c40f6399c77bc8bedc596038410fa2f79c56 (diff)
feat(sterni/machines/edwin): activate headcounter binary cache r/5338
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 <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/sterni/machines/edwin/default.nix')
-rw-r--r--users/sterni/machines/edwin/default.nix12
1 files changed, 11 insertions, 1 deletions
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 = {