force bond gateway to rule over base

This commit is contained in:
2026-02-14 10:57:19 +01:00
parent 6c9b513d63
commit a253a51ef8
+1 -1
View File
@@ -3,7 +3,7 @@
{ {
boot.kernelModules = [ "bonding" ]; boot.kernelModules = [ "bonding" ];
networking.defaultGateway.interface = "bond0"; networking.defaultGateway.interface = lib.mkForce "bond0";
networking.bonds.bond0 = { networking.bonds.bond0 = {
interfaces = map (i: i.name) config.vars.interfaces; interfaces = map (i: i.name) config.vars.interfaces;