1
0
Fork 0
forked from foxora/nix

I FIXED THE NETWORKING YAYAYAYAY

This commit is contained in:
foxora 2026-02-19 19:24:42 +00:00
parent 861b05b042
commit 273023ac5a
2 changed files with 11 additions and 5 deletions

View file

@ -64,11 +64,11 @@
};
"40-bond0" = {
matchConfig.Name = "bond0";
linkConfig = {
RequiredForOnline = "carrier";
networkConfig = {
Bridge = "br0";
LinkLocalAddressing = "no";
};
networkConfig.LinkLocalAddressing = "no";
networkConfig.DHCP = "yes";
linkConfig.RequiredForOnline = "carrier";
};
};
@ -87,6 +87,12 @@
};
"50-vms-bridge" = {
matchConfig.Name = "br0";
networkConfig = {
Address = ["10.16.1.163/24"];
Gateway = "10.16.1.1";
DNS = ["10.16.1.1"];
LinkLocalAddressing = "no";
};
linkConfig.RequiredForOnline = "routable";
};
};

View file

@ -87,7 +87,7 @@ cerulean.mkNexus ./. (self: {
systemd.network.networks."20-lan" = {
matchConfig.Type = "ether";
networkConfig = {
Address = ["10.16.1.127"];
Address = ["10.16.1.127/24"];
Gateway = "10.16.1.1";
DNS = ["10.16.1.1"];
IPv6AcceptRA = true;