feat(topology): add automatic lazy network propagation

This commit is contained in:
oddlama 2024-03-31 17:19:26 +02:00
parent 65f1fc4bd7
commit dc4d82c828
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
9 changed files with 412 additions and 137 deletions

View file

@ -22,6 +22,27 @@
];
topology.self.hardware.image = ../../odroid-h3.png;
topology.self.hardware.info = "ODROID H3, 64GB RAM";
# TODO FIXME topology bogus
topology.self.interfaces.lan-self.physicalConnections = [
{
node = config.node.name;
interface = "lan";
}
];
topology.self.interfaces.lan.physicalConnections =
lib.flip map [
"adguardhome"
"forgejo"
"kanidm"
"radicale"
"vaultwarden"
] (
x: {
node = "ward-${x}";
interface = "lan";
}
);
boot.mode = "efi";
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" "r8169"];