infrastructure/meta/default.nix

26 lines
504 B
Nix
Raw Normal View History

###
# Metadata for the nodes. You can add custom attributes, they are
# accessible through the specialArg meta in the config.
2023-05-22 15:06:11 +02:00
let
2024-01-31 15:27:26 +01:00
dns = args: import ./dns.nix (args // { inherit meta; });
2024-02-23 10:50:50 +01:00
meta =
lib:
(lib.evalModules {
modules = [
./options.nix
{
network = import ./network.nix;
nodes = import ./nodes.nix;
organization = import ./organization.nix;
}
];
class = "dgnumMeta";
}).config;
2024-01-31 15:27:26 +01:00
in
2024-02-23 10:50:50 +01:00
{
inherit dns meta;
}