Skip to content

Commit

Permalink
builders: init goofy-hopcroft.builder.nixos.org
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt committed Dec 31, 2024
1 parent a1cf22f commit d40be61
Show file tree
Hide file tree
Showing 6 changed files with 76 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/hydra.nix
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ in
# x86_64-linux at Hetzner
"elated-minsky.builder.nixos.org".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIvrJpd3aynfPVGGG/s7MtRFz/S6M4dtqvqKI3Da7O7+";
"sleepy-brown.builder.nixos.org".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOh4/3m7o6H3J5QG711aJdlSUVvlC8yW6KoqAES3Fy6I";
# aarch64-linux at Hetzner
"goofy-hopcroft.builder.nixos.org".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICTJEi+nQNd7hzNYN3cLBK/0JCkmwmyC1I+b5nMI7+dd";

# M1 Macs in North America
"*.foundation.detsys.dev" = {
Expand Down
1 change: 1 addition & 0 deletions build/pluto/prometheus/exporters/node.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
targets = [
"elated-minsky.builder.nixos.org:9100"
"sleepy-brown.builder.nixos.org:9100"
"goofy-hopcroft.builder.nixos.org:9100"
];
}
];
Expand Down
3 changes: 3 additions & 0 deletions builders/flake-module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,8 @@
# Epyc 9454P (48C/96T), 256 GB DDR4 RAM, 2x 1.92TB PCIe4 NVME
elated-minsky = mkNixOS "x86_64-linux" ./instances/elated-minsky.nix;
sleepy-brown = mkNixOS "x86_64-linux" ./instances/sleepy-brown.nix;

# Ampere Q80-30 (80C), 256 GB DDR4 RAM, 2x3.84TB PCIe4 NVME
goofy-hopcroft = mkNixOS "aarch64-linux" ./instances/goofy-hopcroft.nix;
};
}
40 changes: 40 additions & 0 deletions builders/instances/goofy-hopcroft.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
imports = [
../profiles/hetzner-rx220.nix
];

nix.settings = {
cores = 2;
max-jobs = 40;
};

networking = {
hostName = "goofy-hopcroft";
domain = "builders.nixos.org";
useDHCP = false;
};

systemd.network = {
enable = true;
networks = {
"30-enP3p2s0f0" = {
matchConfig = {
MACAddress = "74:56:3c:8c:01:a9";
Type = "ether";
};
linkConfig.RequiredForOnline = true;
networkConfig.Description = "WAN";
address = [
"135.181.225.104/26"
"2a01:4f9:3071:2d8b::1/64"
];
routes = [
{ Gateway = "135.181.225.65"; }
{ Gateway = "fe80::1"; }
];
};
};
};

system.stateVersion = "24.11";
}
20 changes: 20 additions & 0 deletions builders/profiles/hetzner-rx220.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
imports = [
../boot/efi-grub.nix
];

disko.devices = import ../disk-layouts/efi-zfs-raid0.nix { };
boot.supportedFilesystems.zfs = true;
networking.hostId = "91312b0a";

# 96G for build roots, 160G for working memory
boot.tmp = {
useTmpfs = true;
tmpfsSize = "96G";
};

boot.initrd.availableKernelModules = [
"nvme"
"usbhid"
];
}
10 changes: 10 additions & 0 deletions terraform/dns.tf
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,16 @@ locals {
type = "AAAA"
value = "2a01:4f8:271:5c14::1"
},
{
hostname = "goofy-hopcroft.builder.nixos.org"
type = "A"
value = "135.181.225.104"
},
{
hostname = "goofy-hopcroft.builder.nixos.org"
type = "AAAA"
value = "2a01:4f9:3071:2d8b::1"
},
{
# hetzner m1 1638981
hostname = "intense-heron.mac.nixos.org"
Expand Down

0 comments on commit d40be61

Please sign in to comment.