mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:36 +01:00
Reading the host's install script evaluated each guest, which pulls the private secrets input, so CI could not evaluate the suite at all. Assisted-by: DeepSeek Harness 0.2.1-rc.2 (deepseek-flash)
20 lines
281 B
Nix
20 lines
281 B
Nix
{
|
|
lib,
|
|
outputs,
|
|
}:
|
|
let
|
|
vmHosts = [
|
|
"shoryu"
|
|
"shushou"
|
|
"youko"
|
|
];
|
|
in
|
|
lib.mergeAttrsList (
|
|
map (
|
|
host:
|
|
lib.mapAttrs' (
|
|
guest: _: lib.nameValuePair "${host}/${guest}" guest
|
|
) outputs.nixosConfigurations.${host}.config.microvm.vms
|
|
) vmHosts
|
|
)
|