nixos/hosts/helix-texta/topology.nix

34 lines
650 B
Nix

{
topology.self = {
hardware.info = "Thinkpad P1 Gen3";
deviceIcon = "devices.laptop";
interfaces.looking-glas = {
icon = "interfaces.tun";
network = "tailnet";
virtual = true;
addresses = [
"100.77.45.59"
"fd7a:115c:a1e0:ab12:4843:cd96:624d:2d3b"
];
physicalConnections = [
{
node = "tailnet";
interface = "*";
}
];
};
interfaces.wlp0s20f3 = {
icon = "interfaces.wifi";
network = "home";
physicalConnections = [
{
node = "home-ap";
interface = "wifi";
}
];
};
};
}