diff options
author | lassulus <lass@aidsballs.de> | 2015-05-07 23:35:08 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2015-05-19 23:17:20 +0200 |
commit | 2e91f5632944b0b36ac6fd9a8d3913f6b927630e (patch) | |
tree | 169694d53acc09b0b01bc468954d46296e556a91 | |
parent | 63ec0c066950c9ed160792e74523b4e40d5aac79 (diff) |
mors.nix: activate binary-caches
-rw-r--r-- | modules/lass/binary-caches.nix | 13 | ||||
-rw-r--r-- | modules/mors/default.nix | 1 |
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 0000000..a4ab415 --- /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 e61b2e3..1507ec1 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"; |