32 lines
633 B
Nix
32 lines
633 B
Nix
{ config, ... }:
|
|
with config.lib.topology;
|
|
{
|
|
topology.self = {
|
|
|
|
interfaces.eth0 = {
|
|
network = "home";
|
|
};
|
|
interfaces.wg0 = {
|
|
addresses = [ "10.100.0.2" ];
|
|
network = "wg0";
|
|
type = "wireguard";
|
|
virtual = true;
|
|
};
|
|
interfaces.ztbn67ogn2 = {
|
|
network = "zerotier";
|
|
# type = "zerotier";
|
|
virtual = true;
|
|
};
|
|
interfaces."tinc.private" = {
|
|
network = "tinc.private";
|
|
# type = "tinc";
|
|
virtual = true;
|
|
};
|
|
interfaces."tinc.retiolum" = {
|
|
network = "tinc.retiolum";
|
|
# type = "tinc";
|
|
virtual = true;
|
|
};
|
|
|
|
};
|
|
}
|