forked from mirrors_public/oddlama_nix-config
feat: use upstream topology
This commit is contained in:
parent
8612c339f0
commit
34efe5686e
7 changed files with 274 additions and 47 deletions
|
@ -21,8 +21,6 @@
|
|||
];
|
||||
|
||||
topology.self.hardware.info = "AMD Ryzen Threadripper 1950X, 96GB RAM";
|
||||
topology.self.interfaces.lan.sharesNetworkWith = x: x == "lan-self";
|
||||
topology.self.interfaces.lan-self.sharesNetworkWith = x: x == "lan";
|
||||
|
||||
boot.mode = "efi";
|
||||
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "e1000e" "alx"];
|
||||
|
@ -85,13 +83,6 @@
|
|||
networking.nftables.firewall = {
|
||||
zones.untrusted.interfaces = [config.guests.${guestName}.networking.mainLinkName];
|
||||
};
|
||||
topology.self.interfaces.lan.physicalConnections = [
|
||||
{
|
||||
node = config.node.name;
|
||||
interface = "lan-self";
|
||||
renderer.reverse = true;
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
|
@ -23,8 +23,6 @@
|
|||
|
||||
topology.self.hardware.image = ../../topology/images/odroid-h3.png;
|
||||
topology.self.hardware.info = "ODROID H3, 64GB RAM";
|
||||
topology.self.interfaces.lan.sharesNetworkWith = x: x == "lan-self";
|
||||
topology.self.interfaces.lan-self.sharesNetworkWith = x: x == "lan";
|
||||
|
||||
boot.mode = "efi";
|
||||
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" "r8169"];
|
||||
|
@ -69,13 +67,6 @@
|
|||
networking.nftables.firewall = {
|
||||
zones.untrusted.interfaces = [config.guests.${guestName}.networking.mainLinkName];
|
||||
};
|
||||
topology.self.interfaces.lan.physicalConnections = [
|
||||
{
|
||||
node = config.node.name;
|
||||
interface = "lan-self";
|
||||
renderer.reverse = true;
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue