15 lines
277 B
Nix
15 lines
277 B
Nix
hostName:
|
|
{ lib, ... }:
|
|
|
|
let
|
|
cluster = import ./. { inherit lib hostName; };
|
|
in
|
|
|
|
{
|
|
_module.args.cluster = {
|
|
inherit (cluster.config) vars;
|
|
inherit (cluster.config.vars) hosts;
|
|
inherit (cluster) config;
|
|
};
|
|
imports = cluster.config.out.injectedNixosConfig;
|
|
}
|