@cryptotaxi247 / infra-1 / commits / fd331157

builders: adopt hopeful-rivest

RX170 builder that up until now was running unmanaged.

Martin Weinelt committed Apr 14, 2025 at 18:40 UTC fd331157c0615808d543e4775e4b2d75c42e1311
7 files changed +64
build/hydra.nix
+2
@@ -170,6 +170,8 @@ in
170 # aarch64-linux at Hetzner
171 "goofy-hopcroft.builder.nixos.org".publicKey =
172 "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICTJEi+nQNd7hzNYN3cLBK/0JCkmwmyC1I+b5nMI7+dd";
173 + "hopeful-rivest.builder.nixos.org".publicKey =
174 + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBgjwpQaNAWdEdnk1YG7JWThM4xQdKNJ3h3arhF7+iFm";
175
176 # M1 Macs in North America
177 "*.foundation.detsys.dev" = {
build/pluto/prometheus/exporters/node.nix
+1
@@ -48,6 +48,7 @@
48 "elated-minsky.builder.nixos.org:9100"
49 "sleepy-brown.builder.nixos.org:9100"
50 "goofy-hopcroft.builder.nixos.org:9100"
51 + "hopeful-rivest.builder.nixos.org:9100"
52 ];
53 }
54 ];
build/pluto/prometheus/exporters/rasdaemon.nix
+1
@@ -17,6 +17,7 @@
17 "elated-minsky.builder.nixos.org:10029"
18 "sleepy-brown.builder.nixos.org:10029"
19 "goofy-hopcroft.builder.nixos.org:10029"
20 + "hopeful-rivest.builder.nixos.org:10029"
21
22 # non-critical
23 "caliban.nixos.org:10029"
builders/flake-module.nix
+3
@@ -33,5 +33,8 @@
33
34 # Ampere Q80-30 (80C), 256 GB DDR4 RAM, 2x3.84TB PCIe4 NVME
35 goofy-hopcroft = mkNixOS "aarch64-linux" ./instances/goofy-hopcroft.nix;
36 +
37 + # Ampere Q80-30 (80C), 128 GB DDR4 RAM, 2x960GB PCIe4 NVME
38 + hopeful-rivest = mkNixOS "aarch64-linux" ./instances/hopeful-rivest.nix;
39 };
40 }
builders/instances/hopeful-rivest.nix new
+40
@@ -0,0 +1,40 @@
1 +{
2 + imports = [
3 + ../profiles/hetzner-rx170.nix
4 + ];
5 +
6 + nix.settings = {
7 + cores = 20;
8 + max-jobs = 10;
9 + };
10 +
11 + networking = {
12 + hostName = "hopeful-rivest";
13 + domain = "builders.nixos.org";
14 + useDHCP = false;
15 + };
16 +
17 + systemd.network = {
18 + enable = true;
19 + networks = {
20 + "30-eno1" = {
21 + matchConfig = {
22 + MACAddress = "74:56:3c:4e:d9:af";
23 + Type = "ether";
24 + };
25 + linkConfig.RequiredForOnline = true;
26 + networkConfig.Description = "WAN";
27 + address = [
28 + "135.181.230.86/26"
29 + "2a01:4f9:3080:388f::1/64"
30 + ];
31 + routes = [
32 + { Gateway = "135.181.230.65"; }
33 + { Gateway = "fe80::1"; }
34 + ];
35 + };
36 + };
37 + };
38 +
39 + system.stateVersion = "24.11";
40 +}
builders/profiles/hetzner-rx170.nix new
+14
@@ -0,0 +1,14 @@
1 +{
2 + imports = [
3 + ../boot/efi-grub.nix
4 + ];
5 +
6 + disko.devices = import ../disk-layouts/efi-zfs-raid0.nix { };
7 + boot.supportedFilesystems.zfs = true;
8 + networking.hostId = "91312b0a";
9 +
10 + boot.initrd.availableKernelModules = [
11 + "nvme"
12 + "usbhid"
13 + ];
14 +}
dns/nixos.org.js
+3
@@ -77,6 +77,9 @@ D("nixos.org",
77
78 A("growing-jennet.mac", "23.88.76.75"),
79
80 + A("hopeful-rivest.builder", "135.181.230.86"),
81 + AAAA("hopeful-rivest.builder", "2a01:4f9:3080:388f::1"),
82 +
83 A("intense-heron.mac", "23.88.75.215"),
84
85 AAAA("kind-lumiere.mac", "2a09:9340:808:60a::1"),