WIP: feat: add build02.aarch64.lix.systems #131

Draft
raito wants to merge 2 commits from build02-lix into main
3 changed files with 35 additions and 2 deletions

View file

@ -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;

View file

@ -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";
}

View file

@ -21,8 +21,7 @@ in
sshUser = "nix";
systems = [ "aarch64-linux" ];
publicHostKey = ssh-keys.machines.build02-aarch64-lix;
# TODO: use build02 features.
supportedFeatures = nodes.build01-aarch64-lix.config.nix.settings.system-features;
supportedFeatures = nodes.build02-aarch64-lix.config.nix.settings.system-features;
}
{
hostName = "build01.aarch64-darwin.lix.systems";