summaryrefslogtreecommitdiffstats
path: root/krebs/2configs/binary-cache/nixos.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2017-08-05 12:02:08 +0200
committerlassulus <lassulus@lassul.us>2017-08-05 12:02:08 +0200
commita7af8f4bc993b783decd86458f5022040ccf0f09 (patch)
treeaf1215f1db256e6824b7f53f243e4ab91079e007 /krebs/2configs/binary-cache/nixos.nix
parent1372af65f4ccaff582b7a396b52ba48ee970b71d (diff)
krebs: add nixos binary cache for all hosts
Diffstat (limited to 'krebs/2configs/binary-cache/nixos.nix')
-rw-r--r--krebs/2configs/binary-cache/nixos.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/krebs/2configs/binary-cache/nixos.nix b/krebs/2configs/binary-cache/nixos.nix
new file mode 100644
index 000000000..2ff5e1307
--- /dev/null
+++ b/krebs/2configs/binary-cache/nixos.nix
@@ -0,0 +1,12 @@
+{ config, ... }:
+
+{
+ nix = {
+ binaryCaches = [
+ "https://cache.nixos.org/"
+ ];
+ binaryCachePublicKeys = [
+ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
+ ];
+ };
+}