realize l2 bridge utilization in vhosts

This commit is contained in:
RootHost-Stormwind
2026-01-26 21:06:08 +01:00
parent 62307984f5
commit 03a75c33e9
3 changed files with 16 additions and 6 deletions

View File

@@ -39,7 +39,9 @@
RUN+="/bin/sh -c 'modprobe ahci; echo 0000:08:00.0 > /sys/bus/pci/drivers_probe'"
'';
boot.kernel.sysctl."net.ipv4.conf.all.forwarding" = true;
boot.kernel.sysctl = {
"net.ipv4.conf.all.forwarding" = true;
};
swapDevices =
[ { device = "/dev/disk/by-uuid/7e34cdc3-bd48-435a-8ea2-e1fe43926262"; }