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

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