summaryrefslogtreecommitdiffstats
path: root/modules/lass/binary-caches.nix
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 /modules/lass/binary-caches.nix
parent49ddfe1f12224d60899b48bbe571bd6f4ccd2dd1 (diff)
mors.nix: activate binary-caches
Diffstat (limited to 'modules/lass/binary-caches.nix')
-rw-r--r--modules/lass/binary-caches.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/lass/binary-caches.nix b/modules/lass/binary-caches.nix
new file mode 100644
index 00000000..a4ab4158
--- /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"
+ ];
+}