From 1e52bf6b9dd9a2b8d4520a336066f9d5a9529688 Mon Sep 17 00:00:00 2001 From: Steffen Illium Date: Wed, 28 Jan 2026 20:53:38 +0100 Subject: [PATCH] switch to failover --- configuration.nix | 6 +----- network-bond.nix | 6 +++--- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/configuration.nix b/configuration.nix index 4727636..9157d82 100644 --- a/configuration.nix +++ b/configuration.nix @@ -27,16 +27,12 @@ boot.loader.efi.canTouchEfiVariables = true; # --- KERNEL NETWORK CONFIGURATION --- - # CRITICAL FOR DOCKER + IPV6 - # 1. Enable Forwarding (Required for Docker) - # 2. Force Accept RA = 2 (Required to get IPv6 address even if forwarding is on) boot.kernel.sysctl = { "net.ipv4.ip_forward" = 1; "net.ipv6.conf.all.forwarding" = 1; "net.ipv6.conf.all.accept_ra" = 2; "net.ipv6.conf.default.accept_ra" = 2; - "net.ipv6.conf.${lib.head config.vars.interfaces}.accept_ra" = 2; - }; + }; boot.kernelModules = [ "rbd" "nbd" ]; diff --git a/network-bond.nix b/network-bond.nix index 1b1655e..f6a5930 100644 --- a/network-bond.nix +++ b/network-bond.nix @@ -6,10 +6,10 @@ networking.bonds.bond0 = { interfaces = map (i: i.name) config.vars.interfaces; driverOptions = { - mode = "802.3ad"; + mode = "active-backup"; miimon = "100"; - lacp_rate = "fast"; - xmit_hash_policy = "layer2+3"; + # lacp_rate = "fast"; + # xmit_hash_policy = "layer2+3"; }; };