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 elk json generation

This commit is contained in:
oddlama 2024-03-27 15:36:32 +01:00
parent 3e14f82952
commit 07191bac9b
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
5 changed files with 168 additions and 72 deletions

View file

@ -184,7 +184,7 @@
inherit pkgs;
modules = [
{
renderer = "d2";
renderer = "elk";
nixosConfigurations = self.nodes;
nodes.fritzbox = {
@ -211,6 +211,18 @@
];
};
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";