39 lines
789 B
Nix
39 lines
789 B
Nix
{lib, ...}: {
|
|
topology.self = {
|
|
hardware.info = "Home Server";
|
|
|
|
interfaces.looking-glas = {
|
|
icon = "interfaces.tun";
|
|
network = "tailnet";
|
|
virtual = true;
|
|
addresses = [
|
|
"100.108.135.4"
|
|
"fd7a:115c:a1e0:ab12:4843:cd96:626c:8704"
|
|
];
|
|
physicalConnections = [
|
|
{
|
|
node = "tailnet";
|
|
interface = "*";
|
|
}
|
|
];
|
|
};
|
|
|
|
interfaces.eno1 = {
|
|
icon = "interfaces.ethernet";
|
|
network = "home";
|
|
addresses = [
|
|
"192.168.1.169"
|
|
"2003:c7:cf11:4200::451"
|
|
"fd3b:de86:922c::451"
|
|
];
|
|
mac = lib.mkForce "70:85:c2:77:94:ed";
|
|
physicalConnections = [
|
|
{
|
|
node = "den-den-mushi";
|
|
interface = "lan2";
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|