nixos-config/machines/cherry/topology.nix

26 lines
461 B
Nix
Raw Permalink Normal View History

2024-08-30 12:34:57 +02:00
{ config, ... }:
with config.lib.topology;
{
topology.self = {
2024-08-31 03:33:08 +02:00
interfaces.wifi = {
network = "home";
};
2024-08-30 12:34:57 +02:00
interfaces.wg0 = {
network = "wg0";
2024-08-31 03:33:08 +02:00
type = "wireguard";
2024-08-30 12:34:57 +02:00
virtual = true;
};
interfaces.ztbn67ogn2 = {
2024-08-31 03:33:08 +02:00
network = "zerotier";
2024-08-30 12:34:57 +02:00
type = "ethernet";
virtual = true;
};
interfaces."tinc.private" = {
network = "tinc.private";
type = "ethernet";
virtual = true;
};
};
}