Files
nix-config-ryan4yin/outputs/aarch64-linux/tests/remote-builders/expr.nix
T
ryan4yin | 二花 f3b741f5a0 feat(builders): enable aquamarine on remaining physical hosts (#500)
Enable the existing remote-builder module on shoryu, shushou and
youko, and authorize their SSH host keys on aquamarine.

Kana and Ruby are VM guests with no need to build; leave their local
store and build behavior unchanged.

Assisted-by: DeepSeek Harness (deepseek-flash)
2026-11-01 04:44:43 -06:00

15 lines
301 B
Nix

{
outputs,
...
}:
let
name = "shoukei-niri";
cfg = outputs.nixosConfigurations.${name}.config;
in
{
distributedBuilds = cfg.nix.distributedBuilds;
aquamarineConfigured = builtins.any (
machine: machine.hostName == "aquamarine" && machine.sshUser == "root"
) cfg.nix.buildMachines;
}