build01: switch to new hardware

This commit is contained in:
zowoq 2024-07-26 09:44:02 +10:00
parent 32aeed170f
commit f822d3f990
3 changed files with 8 additions and 7 deletions

View file

@ -3,10 +3,9 @@
### `build01` ### `build01`
- Provider: Hetzner - Provider: Hetzner
- Instance type: [AX41](https://www.hetzner.com/dedicated-rootserver/ax41-nvme) - CPU: AMD Ryzen 9 3900 12-Core Processor
- CPU: AMD Ryzen 5 3600 6-Core Processor - RAM: 128GB DDR4 ECC
- RAM: 64GB DDR4 ECC - Drives: 2 x 1.92 TB NVME
- Drives: 2 x 512 GB NVME
### `build02` ### `build02`

View file

@ -11,12 +11,14 @@
# the default zpool import services somehow times out while this import works fine? # 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"; 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 # Emulate riscv64 until we have proper builders
boot.binfmt.emulatedSystems = [ "riscv64-linux" ]; boot.binfmt.emulatedSystems = [ "riscv64-linux" ];
networking.hostName = "build01"; 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"; system.stateVersion = "23.11";
} }

View file

@ -22,14 +22,14 @@ resource "cloudflare_record" "nix-community-org-caa" {
resource "cloudflare_record" "nix-community-org-build01-A" { resource "cloudflare_record" "nix-community-org-build01-A" {
zone_id = local.nix_community_zone_id zone_id = local.nix_community_zone_id
name = "build01" name = "build01"
value = "135.181.218.169" value = "65.21.139.242"
type = "A" type = "A"
} }
resource "cloudflare_record" "nix-community-org-build01-AAAA" { resource "cloudflare_record" "nix-community-org-build01-AAAA" {
zone_id = local.nix_community_zone_id zone_id = local.nix_community_zone_id
name = "build01" name = "build01"
value = "2a01:4f9:3a:3b16::1" value = "2a01:4f9:3b:2946::1"
type = "AAAA" type = "AAAA"
} }