25 lines
504 B
Nix
25 lines
504 B
Nix
###
|
|
# Metadata for the nodes. You can add custom attributes, they are
|
|
# accessible through the specialArg meta in the config.
|
|
|
|
let
|
|
dns = args: import ./dns.nix (args // { inherit meta; });
|
|
|
|
meta =
|
|
lib:
|
|
(lib.evalModules {
|
|
modules = [
|
|
./options.nix
|
|
{
|
|
network = import ./network.nix;
|
|
nodes = import ./nodes.nix;
|
|
organization = import ./organization.nix;
|
|
}
|
|
];
|
|
class = "dgnumMeta";
|
|
}).config;
|
|
in
|
|
|
|
{
|
|
inherit dns meta;
|
|
}
|