summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2023-12-29 20:29:10 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2023-12-29 20:29:10 +0100
commitd5a1825f066d66c96aceec3785408881a18ca78b (patch)
tree5175f11e93a7bfd69e5237a9d1be410059a3383a
parent8f711745d9c32f9855720d23bf16abfcd6bdedda (diff)
downloadnixos-d5a1825f066d66c96aceec3785408881a18ca78b.tar
nixos-d5a1825f066d66c96aceec3785408881a18ca78b.tar.gz
nixos-d5a1825f066d66c96aceec3785408881a18ca78b.tar.bz2
nixos-d5a1825f066d66c96aceec3785408881a18ca78b.tar.xz
nixos-d5a1825f066d66c96aceec3785408881a18ca78b.zip
...
-rw-r--r--hosts/vidhar/network/dsl.nix4
1 files 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 {
56 "ppp/ip-pre-up".source = let 56 "ppp/ip-pre-up".source = let
57 app = pkgs.writeShellApplication { 57 app = pkgs.writeShellApplication {
58 name = "ip-pre-up"; 58 name = "ip-pre-up";
59 runtimeInputs = with pkgs; [ iproute2 ethtool kmod ]; 59 runtimeInputs = with pkgs; [ iproute2 ethtool ];
60 text = '' 60 text = ''
61 ethtool -K telekom tso off gso off gro off 61 ethtool -K telekom tso off gso off gro off
62 62
63 modprobe ifb
64 ip link del "ifb4${pppInterface}" || true 63 ip link del "ifb4${pppInterface}" || true
65 ip link add name "ifb4${pppInterface}" type ifb 64 ip link add name "ifb4${pppInterface}" type ifb
66 ip link set "ifb4${pppInterface}" up 65 ip link set "ifb4${pppInterface}" up
@@ -148,6 +147,7 @@ in {
148 }; 147 };
149 }; 148 };
150 }; 149 };
150 boot.kernelModules = [ "ifb" ];
151 boot.kernel.sysctl = { 151 boot.kernel.sysctl = {
152 "net.ipv6.conf.all.forwarding" = true; 152 "net.ipv6.conf.all.forwarding" = true;
153 "net.ipv6.conf.default.forwarding" = true; 153 "net.ipv6.conf.default.forwarding" = true;