2022-06-23 21:13:28 +03:00
|
|
|
hostName:
|
2023-03-07 02:26:07 +02:00
|
|
|
{ depot, lib, ... }:
|
2022-06-23 21:13:28 +03:00
|
|
|
|
|
|
|
let
|
2023-03-07 02:26:07 +02:00
|
|
|
cluster = import ./. { inherit lib depot hostName; };
|
2022-06-23 21:13:28 +03:00
|
|
|
in
|
|
|
|
|
|
|
|
{
|
|
|
|
_module.args.cluster = {
|
|
|
|
inherit (cluster.config) vars;
|
|
|
|
inherit (cluster.config.vars) hosts;
|
|
|
|
inherit (cluster) config;
|
|
|
|
};
|
|
|
|
imports = cluster.config.out.injectedNixosConfig;
|
|
|
|
}
|