WIP: feat: add build02.aarch64.lix.systems #131
|
@ -184,6 +184,7 @@
|
||||||
in
|
in
|
||||||
aarch64-systems [
|
aarch64-systems [
|
||||||
"build01-aarch64-lix"
|
"build01-aarch64-lix"
|
||||||
|
"build02-aarch64-lix"
|
||||||
];
|
];
|
||||||
meta.specialArgs.inputs = inputs;
|
meta.specialArgs.inputs = inputs;
|
||||||
|
|
||||||
|
@ -198,6 +199,7 @@
|
||||||
build-coord.imports = floralInfraModules ++ [ ./hosts/build-coord ];
|
build-coord.imports = floralInfraModules ++ [ ./hosts/build-coord ];
|
||||||
|
|
||||||
build01-aarch64-lix.imports = lixInfraModules ++ [ ./hosts/build01-aarch64-lix ];
|
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 ];
|
buildbot-lix.imports = lixInfraModules ++ [ ./hosts/buildbot-lix ];
|
||||||
} // builders;
|
} // builders;
|
||||||
|
|
||||||
|
|
32
hosts/build02-aarch64-lix/default.nix
Normal file
32
hosts/build02-aarch64-lix/default.nix
Normal 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";
|
||||||
|
}
|
|
@ -21,8 +21,7 @@ in
|
||||||
sshUser = "nix";
|
sshUser = "nix";
|
||||||
systems = [ "aarch64-linux" ];
|
systems = [ "aarch64-linux" ];
|
||||||
publicHostKey = ssh-keys.machines.build02-aarch64-lix;
|
publicHostKey = ssh-keys.machines.build02-aarch64-lix;
|
||||||
# TODO: use build02 features.
|
supportedFeatures = nodes.build02-aarch64-lix.config.nix.settings.system-features;
|
||||||
supportedFeatures = nodes.build01-aarch64-lix.config.nix.settings.system-features;
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
hostName = "build01.aarch64-darwin.lix.systems";
|
hostName = "build01.aarch64-darwin.lix.systems";
|
||||||
|
|
Loading…
Reference in a new issue