diff --git a/flake.nix b/flake.nix index 75c44e8..a29da86 100644 --- a/flake.nix +++ b/flake.nix @@ -184,6 +184,7 @@ in aarch64-systems [ "build01-aarch64-lix" + "build02-aarch64-lix" ]; meta.specialArgs.inputs = inputs; @@ -198,6 +199,7 @@ build-coord.imports = floralInfraModules ++ [ ./hosts/build-coord ]; build01-aarch64-lix.imports = lixInfraModules ++ [ ./hosts/build01-aarch64-lix ]; + build02-aarch64-lix.imports = lixInfraModules ++ [ ./hosts/build01-aarch64-lix ]; buildbot-lix.imports = lixInfraModules ++ [ ./hosts/buildbot-lix ]; } // builders; diff --git a/hosts/build02-aarch64-lix/default.nix b/hosts/build02-aarch64-lix/default.nix new file mode 100644 index 0000000..2303a4a --- /dev/null +++ b/hosts/build02-aarch64-lix/default.nix @@ -0,0 +1,32 @@ +{ ... }: { + networking.hostName = "build02"; + networking.domain = "aarch64.lix.systems"; + + bagel.hardware.hetzner = { + enable = true; + system = "aarch64-linux"; + platformType = "virtual-machine"; + networking.wan = { + mac = "96:00:03:14:a7:b7"; + address = [ "2a01:4f9:c012:bd6e::1/64" ]; + }; + }; + + # disko will be for another day. + fileSystems."/" = + { device = "/dev/disk/by-uuid/3eda50cf-5866-410f-b948-c246873ab92e"; + fsType = "xfs"; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/EB58-3EC0"; + fsType = "vfat"; + }; + + swapDevices = [ ]; + + bagel.builders.extra-build-capacity.provider.enable = true; + i18n.defaultLocale = "en_US.UTF-8"; + system.stateVersion = "24.05"; + deployment.targetHost = "build02.aarch64.lix.systems"; +}