nixos-config/nix/topology/networks.nix

28 lines
421 B
Nix
Raw Normal View History

2024-08-30 12:34:57 +02:00
{ config, ... }:
with config.lib.topology;
{
2024-08-31 03:33:08 +02:00
nodes.internet = mkInternet {
#connections = mkConnection "orbi" "eth0";
};
networks.zerotier = {
name = "clan network";
};
2024-08-30 12:34:57 +02:00
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";
};
}