darwin03: convert to CI builder
This commit is contained in:
parent
03fb7492bb
commit
319e1787e2
2 changed files with 14 additions and 0 deletions
hosts
|
@ -22,5 +22,14 @@
|
||||||
systems = [ "aarch64-darwin" "x86_64-darwin" ];
|
systems = [ "aarch64-darwin" "x86_64-darwin" ];
|
||||||
supportedFeatures = inputs.self.outputs.darwinConfigurations.darwin02.config.nix.settings.system-features;
|
supportedFeatures = inputs.self.outputs.darwinConfigurations.darwin02.config.nix.settings.system-features;
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
hostName = "darwin03.nix-community.org";
|
||||||
|
maxJobs = 8;
|
||||||
|
protocol = "ssh-ng";
|
||||||
|
sshKey = config.sops.secrets.id_buildfarm.path;
|
||||||
|
sshUser = "nix";
|
||||||
|
systems = [ "aarch64-darwin" "x86_64-darwin" ];
|
||||||
|
supportedFeatures = inputs.self.outputs.darwinConfigurations.darwin03.config.nix.settings.system-features;
|
||||||
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,8 +4,13 @@
|
||||||
imports = [
|
imports = [
|
||||||
inputs.self.darwinModules.common
|
inputs.self.darwinModules.common
|
||||||
inputs.self.darwinModules.builder
|
inputs.self.darwinModules.builder
|
||||||
|
inputs.self.darwinModules.hercules-ci
|
||||||
|
inputs.self.darwinModules.remote-builder
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# on nix-darwin if user is removed the keys need to be removed manually from /etc/ssh/authorized_keys.d
|
||||||
|
nixCommunity.remote-builder.key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEmdo1x1QkRepZf7nSe+OdEWX+wOjkBLF70vX9F+xf68 builder";
|
||||||
|
|
||||||
nix.settings.sandbox = "relaxed";
|
nix.settings.sandbox = "relaxed";
|
||||||
nix.settings.extra-platforms = [ "x86_64-darwin" ];
|
nix.settings.extra-platforms = [ "x86_64-darwin" ];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue