forked from mirrors_public/oddlama_nix-config
feat(topology): add automatic lazy network propagation
This commit is contained in:
parent
65f1fc4bd7
commit
dc4d82c828
9 changed files with 412 additions and 137 deletions
|
@ -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"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue