about summary refs log tree commit diff
path: root/machines/sternenseemann
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2017-04-23 19:55:34 +0200
committeraszlig <aszlig@redmoonstudios.org>2017-04-23 20:00:10 +0200
commitc7d94896172e7935666235a7857ad0b8be39ef42 (patch)
treee57ff3ff6b5e97e834be2a89fac7b104975e1944 /machines/sternenseemann
parent2060f04bf6487dee8dd173b4bc7544d1067f8031 (diff)
core/common: Add Headcounter Hydra to binaryCaches
This makes sense to put into the core module here, because we already
have the public key in there as well and if we want to use the binary
cache outside of a channel it's a good idea to provide it here by
default.

Being a default of course also means that users can easily override this
using:

  nix.binaryCaches = mkForce [ "something else" ];

I've also removed the redundant setting of that option in all of the
machine configurations.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @sternenseemann
Diffstat (limited to 'machines/sternenseemann')
-rw-r--r--machines/sternenseemann/fliewatuet.nix7
-rw-r--r--machines/sternenseemann/schaf.nix6
-rw-r--r--machines/sternenseemann/schnurrkadse.nix7
3 files changed, 1 insertions, 19 deletions
diff --git a/machines/sternenseemann/fliewatuet.nix b/machines/sternenseemann/fliewatuet.nix
index 61c8472c..b04f4dc8 100644
--- a/machines/sternenseemann/fliewatuet.nix
+++ b/machines/sternenseemann/fliewatuet.nix
@@ -29,13 +29,6 @@ in {
   swapDevices = [ ];
 
   nix.maxJobs = 8;
-  nix.binaryCaches = [
-    "https://headcounter.org/hydra/"
-    "https://cache.nixos.org/"
-  ];
-  nix.binaryCachePublicKeys = [
-    "headcounter.org:/7YANMvnQnyvcVB6rgFTdb8p5LG1OTXaO+21CaOSBzg="
-  ];
   nix.useSandbox = true;
   nix.extraOptions = "gc-keep-derivations = false";
 
diff --git a/machines/sternenseemann/schaf.nix b/machines/sternenseemann/schaf.nix
index f63fd559..3fa7da00 100644
--- a/machines/sternenseemann/schaf.nix
+++ b/machines/sternenseemann/schaf.nix
@@ -7,13 +7,9 @@
 
   services.nixosManual.enable = false;
 
-  nix.binaryCaches = [ 
-    "https://headcounter.org/hydra/"
-    "http://nixos-arm.dezgeg.me/channel"
-  ];
+  nix.binaryCaches = [ "http://nixos-arm.dezgeg.me/channel" ];
 
   nix.binaryCachePublicKeys = [
-    "headcounter.org:/7YANMvnQnyvcVB6rgFTdb8p5LG1OTXaO+21CaOSBzg="
     "nixos-arm.dezgeg.me-1:xBaUKS3n17BZPKeyxL4JfbTqECsT+ysbDJz29kLFRW0=%"
   ];
 
diff --git a/machines/sternenseemann/schnurrkadse.nix b/machines/sternenseemann/schnurrkadse.nix
index ef1ceeac..93500eac 100644
--- a/machines/sternenseemann/schnurrkadse.nix
+++ b/machines/sternenseemann/schnurrkadse.nix
@@ -27,13 +27,6 @@ in {
   swapDevices = [ { device = "/dev/mapper/schnurrkadse-swap"; } ];
 
   nix.maxJobs = 1;
-  nix.binaryCaches = [
-    "https://headcounter.org/hydra/"
-    "https://cache.nixos.org/"
-  ];
-  nix.binaryCachePublicKeys = [
-    "headcounter.org:/7YANMvnQnyvcVB6rgFTdb8p5LG1OTXaO+21CaOSBzg="
-  ];
 
   hardware.pulseaudio.enable = true;