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 network edge colors

This commit is contained in:
oddlama 2024-03-29 20:49:07 +01:00
parent ecaea9b906
commit 59ca21850b
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
4 changed files with 49 additions and 11 deletions

View file

@ -218,6 +218,21 @@
];
};
# TODO: extract from kea!
networks.home-lan = {
name = "Home LAN";
cidrv4 = "192.168.1.0/24";
color = "#78dba9";
};
networks.home-fritzbox = {
name = "Home Fritzbox";
cidrv4 = "192.168.178.0/24";
color = "#f1cf8a";
};
nodes.ward.interfaces.lan.network = "home-lan";
nodes.ward.interfaces.wan.network = "home-fritzbox";
nodes.fritzbox.interfaces.eth0.network = "home-fritzbox";
nodes.switch-attic = {
name = "Switch Attic";
deviceType = "switch";