freun.dev: setup transport layout offloads for tailscale

This commit is contained in:
Joakim Repomaa
2025-02-02 22:48:09 +02:00
parent 6e041b2d99
commit 6026e064fd

View File

@@ -71,6 +71,17 @@
}; };
}; };
services.networkd-dispatcher = {
enable = true;
rules."50-tailscale" = {
onState = [ "routable" ];
script = ''
#!${pkgs.runtimeShell}
${pkgs.ethtool}/bin/ethtool -K ${config.systemd.network.networks.static.name} rx-udp-gro-forwarding on rx-gro-list off
'';
};
};
# Set your time zone. # Set your time zone.
time.timeZone = "Europe/Helsinki"; time.timeZone = "Europe/Helsinki";