@cryptotaxi247 / infra-1 / commits / a1cf22f9

builders: init sleepy-brown.builder.nixos.org

Martin Weinelt committed Dec 31, 2024 at 22:09 UTC a1cf22f9a1851c5937440d0f71bf904fe09f3b01
5 files changed +55
build/hydra.nix
+1
@@ -150,6 +150,7 @@ in
150 services.openssh.knownHosts = {
151 # x86_64-linux at Hetzner
152 "elated-minsky.builder.nixos.org".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIvrJpd3aynfPVGGG/s7MtRFz/S6M4dtqvqKI3Da7O7+";
153 + "sleepy-brown.builder.nixos.org".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOh4/3m7o6H3J5QG711aJdlSUVvlC8yW6KoqAES3Fy6I";
154
155 # M1 Macs in North America
156 "*.foundation.detsys.dev" = {
build/pluto/prometheus/exporters/node.nix
+1
@@ -46,6 +46,7 @@
46 labels.role = "builders";
47 targets = [
48 "elated-minsky.builder.nixos.org:9100"
49 + "sleepy-brown.builder.nixos.org:9100"
50 ];
51 }
52 ];
builders/flake-module.nix
+1
@@ -29,5 +29,6 @@
29 {
30 # Epyc 9454P (48C/96T), 256 GB DDR4 RAM, 2x 1.92TB PCIe4 NVME
31 elated-minsky = mkNixOS "x86_64-linux" ./instances/elated-minsky.nix;
32 + sleepy-brown = mkNixOS "x86_64-linux" ./instances/sleepy-brown.nix;
33 };
34 }
builders/instances/sleepy-brown.nix new
+41
@@ -0,0 +1,41 @@
1 +{
2 + imports = [
3 + ../profiles/hetzner-ax101r.nix
4 + ];
5 +
6 + nix.settings = {
7 + cores = 24;
8 + max-jobs = 4;
9 + system-features = [ "big-parallel" ];
10 + };
11 +
12 + networking = {
13 + hostName = "sleepy-brown";
14 + domain = "builders.nixos.org";
15 + useDHCP = false;
16 + };
17 +
18 + systemd.network = {
19 + enable = true;
20 + networks = {
21 + "30-enp193s0f0np0" = {
22 + matchConfig = {
23 + MACAddress = "9c:6b:00:4e:fd:2d";
24 + Type = "ether";
25 + };
26 + linkConfig.RequiredForOnline = true;
27 + networkConfig.Description = "WAN";
28 + address = [
29 + "162.55.130.51/26"
30 + "2a01:4f8:271:5c14::1/64"
31 + ];
32 + routes = [
33 + { Gateway = "162.55.130.1"; }
34 + { Gateway = "fe80::1"; }
35 + ];
36 + };
37 + };
38 + };
39 +
40 + system.stateVersion = "24.11";
41 +}
terraform/dns.tf
+11
@@ -217,6 +217,17 @@ locals {
217 type = "AAAA"
218 value = "2a01:4f8:2220:1b03::1"
219 },
220 + {
221 + # hetzner ax162-r 2566166
222 + hostname = "sleepy-brown.builder.nixos.org"
223 + type = "A"
224 + value = "162.55.130.51"
225 + },
226 + {
227 + hostname = "sleepy-brown.builder.nixos.org"
228 + type = "AAAA"
229 + value = "2a01:4f8:271:5c14::1"
230 + },
231 {
232 # hetzner m1 1638981
233 hostname = "intense-heron.mac.nixos.org"