mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:36 +01:00
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)
15 lines
301 B
Nix
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;
|
|
}
|