nixos-config/nix/topology/networks.nix
2024-08-31 08:33:28 +07:00

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";
};
}