1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 14:50:40 +02:00

feat(topology): add services overview card

This commit is contained in:
oddlama 2024-03-28 01:39:31 +01:00
parent 07191bac9b
commit b822b4e812
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
8 changed files with 177 additions and 67 deletions

View file

@ -192,47 +192,69 @@
deviceType = "router";
hardware.image = ./fritzbox.png;
# interfaces.wan0.network = "internet";
interfaces.wan0.physicalConnections = [
interfaces.wan0 = {};
interfaces.lan0.physicalConnections = [
{
node = "ward";
interface = "wan";
}
{
node = "sire";
interface = "lan";
}
];
};
nodes.internet = {
name = "Internet";
deviceType = "internet";
hardware.image = ./cloud.svg;
# interfaces.wan0.network = "internet";
interfaces.wan0.physicalConnections = [
{
node = "fritzbox";
interface = "wan0";
}
{
node = "sentinel";
interface = "wan";
}
];
};
nodes.fritzbox-no-img = {
name = "FritzBox No HImg";
deviceType = "router";
interfaces.wan0.physicalConnections = [
{
node = "ward";
interface = "wan";
}
];
};
#nodes.fritzbox-no-img = {
# name = "FritzBox No HImg";
# deviceType = "router";
# interfaces.wan0.physicalConnections = [
# {
# node = "ward";
# interface = "wan";
# }
# ];
#};
nodes.fritzbox-device-nd = {
name = "FritzBox No DImg";
deviceType = "device";
hardware.image = ./fritzbox.png;
interfaces.wan0.physicalConnections = [
{
node = "ward";
interface = "wan";
}
];
};
#nodes.fritzbox-device-nd = {
# name = "FritzBox No DImg";
# deviceType = "device";
# hardware.image = ./fritzbox.png;
# interfaces.wan0.physicalConnections = [
# {
# node = "ward";
# interface = "wan";
# }
# ];
#};
nodes.fritzbox-device = {
name = "FritzBox No D&HImg";
deviceType = "device";
interfaces.wan0.physicalConnections = [
{
node = "ward";
interface = "wan";
}
];
};
#nodes.fritzbox-device = {
# name = "FritzBox No D&HImg";
# deviceType = "device";
# interfaces.wan0.physicalConnections = [
# {
# node = "ward";
# interface = "wan";
# }
# ];
#};
# TODO:
#nodes.fritzbox = config.lib.nodes.mkRouter {};