diff --git a/network-bond.nix b/network-bond.nix index ec215f5..0863a08 100644 --- a/network-bond.nix +++ b/network-bond.nix @@ -3,7 +3,7 @@ { boot.kernelModules = [ "bonding" ]; - networking.defaultGateway.interface = "bond0"; + networking.defaultGateway.interface = lib.mkForce "bond0"; networking.bonds.bond0 = { interfaces = map (i: i.name) config.vars.interfaces;