summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-05-07 23:35:08 +0200
committertv <tv@shackspace.de>2015-05-19 23:17:20 +0200
commitbc7843b03dd8f6d017467c81b7c08b3b6fd874c9 (patch)
tree169694d53acc09b0b01bc468954d46296e556a91
parent49ddfe1f12224d60899b48bbe571bd6f4ccd2dd1 (diff)
mors.nix: activate binary-caches
-rw-r--r--modules/lass/binary-caches.nix13
-rw-r--r--modules/mors/default.nix1
2 files changed, 14 insertions, 0 deletions
diff --git a/modules/lass/binary-caches.nix b/modules/lass/binary-caches.nix
new file mode 100644
index 000000000..a4ab41588
--- /dev/null
+++ b/modules/lass/binary-caches.nix
@@ -0,0 +1,13 @@
+{ config, ... }:
+
+{
+ nix.sshServe.enable = true;
+ nix.sshServe.keys = [
+ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBF9SBNKE3Pw/ALwTfzpzs+j6Rpaf0kUy6FiPMmgNNNt root@mors"
+ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFCZSq5oLrokkh3F+MOdK5/nzVIEDvqyvfzLMNWmzsYD root@uriel"
+ ];
+ nix.binaryCaches = [
+ "ssh://nix@mors"
+ "ssh://nix@uriel"
+ ];
+}
diff --git a/modules/mors/default.nix b/modules/mors/default.nix
index e61b2e3df..1507ec1f3 100644
--- a/modules/mors/default.nix
+++ b/modules/mors/default.nix
@@ -21,6 +21,7 @@
../lass/wine.nix
../lass/texlive.nix
../common/nixpkgs.nix
+ ../lass/binary-caches.nix
];
nixpkgs = {
url = "https://github.com/Lassulus/nixpkgs";