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:
parent
3e14f82952
commit
07191bac9b
5 changed files with 168 additions and 72 deletions
14
flake.nix
14
flake.nix
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue