From f822d3f9900e9e7a65e392a2bbb12684734e564b Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Fri, 26 Jul 2024 09:44:02 +1000 Subject: [PATCH] build01: switch to new hardware --- devdoc/hosts.md | 7 +++---- hosts/build01/configuration.nix | 4 +++- terraform/cloudflare_nix-community_org.tf | 4 ++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/devdoc/hosts.md b/devdoc/hosts.md index 001edf4..43685b8 100644 --- a/devdoc/hosts.md +++ b/devdoc/hosts.md @@ -3,10 +3,9 @@ ### `build01` - Provider: Hetzner -- Instance type: [AX41](https://www.hetzner.com/dedicated-rootserver/ax41-nvme) -- CPU: AMD Ryzen 5 3600 6-Core Processor -- RAM: 64GB DDR4 ECC -- Drives: 2 x 512 GB NVME +- CPU: AMD Ryzen 9 3900 12-Core Processor +- RAM: 128GB DDR4 ECC +- Drives: 2 x 1.92 TB NVME ### `build02` diff --git a/hosts/build01/configuration.nix b/hosts/build01/configuration.nix index a2bf49d..a778924 100644 --- a/hosts/build01/configuration.nix +++ b/hosts/build01/configuration.nix @@ -11,12 +11,14 @@ # the default zpool import services somehow times out while this import works fine? boot.initrd.systemd.services.zfs-import-zroot.serviceConfig.ExecStartPre = "${config.boot.zfs.package}/bin/zpool import -N -f zroot"; + nixCommunity.gc.gbFree = 500; + # Emulate riscv64 until we have proper builders boot.binfmt.emulatedSystems = [ "riscv64-linux" ]; networking.hostName = "build01"; - systemd.network.networks."10-uplink".networkConfig.Address = "2a01:4f9:3a:3b16::1/64"; + systemd.network.networks."10-uplink".networkConfig.Address = "2a01:4f9:3b:2946::1/64"; system.stateVersion = "23.11"; } diff --git a/terraform/cloudflare_nix-community_org.tf b/terraform/cloudflare_nix-community_org.tf index 3fc21e4..3e68ac3 100644 --- a/terraform/cloudflare_nix-community_org.tf +++ b/terraform/cloudflare_nix-community_org.tf @@ -22,14 +22,14 @@ resource "cloudflare_record" "nix-community-org-caa" { resource "cloudflare_record" "nix-community-org-build01-A" { zone_id = local.nix_community_zone_id name = "build01" - value = "135.181.218.169" + value = "65.21.139.242" type = "A" } resource "cloudflare_record" "nix-community-org-build01-AAAA" { zone_id = local.nix_community_zone_id name = "build01" - value = "2a01:4f9:3a:3b16::1" + value = "2a01:4f9:3b:2946::1" type = "AAAA" }