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:
parent
07191bac9b
commit
b822b4e812
8 changed files with 177 additions and 67 deletions
86
flake.nix
86
flake.nix
|
@ -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 {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue