about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--users/glittershark/system/system/modules/tvl.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/users/glittershark/system/system/modules/tvl.nix b/users/glittershark/system/system/modules/tvl.nix
new file mode 100644
index 0000000000..5fb044b901
--- /dev/null
+++ b/users/glittershark/system/system/modules/tvl.nix
@@ -0,0 +1,19 @@
+{ config, lib, pkgs, ... }:
+
+{
+  nix.buildMachines = [{
+    hostName = "whitby.tvl.fyi";
+    sshUser = "grfn";
+    sshKey = "/root/.ssh/id_rsa.whitby";
+    system = "x86_64-linux";
+    maxJobs = 64;
+    supportedFeatures = ["big-parallel"];
+  }];
+
+  programs.ssh.knownHosts.whitby = {
+    hostNames = [ "whitby" "whitby.tvl.fyi" "49.12.129.211"];
+    publicKeyFile = pkgs.writeText "whitby.pub" ''
+    ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILNh/w4BSKov0jdz3gKBc98tpoLta5bb87fQXWBhAl2I
+    '';
+  };
+}