From bc7843b03dd8f6d017467c81b7c08b3b6fd874c9 Mon Sep 17 00:00:00 2001 From: lassulus Date: Thu, 7 May 2015 23:35:08 +0200 Subject: mors.nix: activate binary-caches --- modules/lass/binary-caches.nix | 13 +++++++++++++ modules/mors/default.nix | 1 + 2 files changed, 14 insertions(+) create mode 100644 modules/lass/binary-caches.nix (limited to 'modules') 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"; -- cgit v1.2.3