27 lines
421 B
Nix
27 lines
421 B
Nix
{ config, ... }:
|
|
with config.lib.topology;
|
|
{
|
|
|
|
nodes.internet = mkInternet {
|
|
#connections = mkConnection "orbi" "eth0";
|
|
};
|
|
|
|
networks.zerotier = {
|
|
name = "clan network";
|
|
};
|
|
|
|
networks.wg0 = {
|
|
name = "wg0";
|
|
cidrv4 = "10.100.0.0/24";
|
|
};
|
|
|
|
networks."tinc.private" = {
|
|
name = "tinc private";
|
|
cidrv4 = "10.23.42.0/24";
|
|
};
|
|
|
|
networks."tinc.retiolum" = {
|
|
name = "tinc retiolum";
|
|
};
|
|
|
|
}
|