From d5a1825f066d66c96aceec3785408881a18ca78b Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 29 Dec 2023 20:29:10 +0100 Subject: ... --- hosts/vidhar/network/dsl.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/vidhar/network/dsl.nix b/hosts/vidhar/network/dsl.nix index b267517c..1e8e9c73 100644 --- a/hosts/vidhar/network/dsl.nix +++ b/hosts/vidhar/network/dsl.nix @@ -56,11 +56,10 @@ in { "ppp/ip-pre-up".source = let app = pkgs.writeShellApplication { name = "ip-pre-up"; - runtimeInputs = with pkgs; [ iproute2 ethtool kmod ]; + runtimeInputs = with pkgs; [ iproute2 ethtool ]; text = '' ethtool -K telekom tso off gso off gro off - modprobe ifb ip link del "ifb4${pppInterface}" || true ip link add name "ifb4${pppInterface}" type ifb ip link set "ifb4${pppInterface}" up @@ -148,6 +147,7 @@ in { }; }; }; + boot.kernelModules = [ "ifb" ]; boot.kernel.sysctl = { "net.ipv6.conf.all.forwarding" = true; "net.ipv6.conf.default.forwarding" = true; -- cgit v1.2.3