summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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";