nixos-config/machines/chungus/topology.nix
2024-08-30 17:34:57 +07:00

33 lines
644 B
Nix

{ config, ... }:
with config.lib.topology;
{
topology.self = {
interfaces.enp0s31f6 = {
network = "home";
type = "ethernet";
};
interfaces.wg0 = {
addresses = [ "10.100.0.2" ];
network = "wg0";
type = "ethernet";
virtual = true;
};
interfaces.ztbn67ogn2 = {
network = "wg0";
type = "ethernet";
virtual = true;
};
interfaces."tinc.private" = {
network = "tinc.private";
type = "ethernet";
virtual = true;
};
interfaces."tinc.retiolum" = {
network = "tinc.retiolum";
type = "ethernet";
virtual = true;
};
};
}