25 lines
461 B
Nix
25 lines
461 B
Nix
{ config, ... }:
|
|
with config.lib.topology;
|
|
{
|
|
topology.self = {
|
|
|
|
interfaces.wifi = {
|
|
network = "home";
|
|
};
|
|
interfaces.wg0 = {
|
|
network = "wg0";
|
|
type = "wireguard";
|
|
virtual = true;
|
|
};
|
|
interfaces.ztbn67ogn2 = {
|
|
network = "zerotier";
|
|
type = "ethernet";
|
|
virtual = true;
|
|
};
|
|
interfaces."tinc.private" = {
|
|
network = "tinc.private";
|
|
type = "ethernet";
|
|
virtual = true;
|
|
};
|
|
};
|
|
}
|