Tailscale: Difference between revisions
I described how Tailscale's recommendations on optimizing UDP throughput translate into NixOS. |
fix tiny errors and spacing |
||
Line 73: | Line 73: | ||
... | ... | ||
services = { | services = { | ||
networkd-dispatcher = { | |||
enable = true; | |||
rules."50-tailscale" = { | |||
onState = ["routable"]; | |||
script = '' | |||
#!${pkgs.runtimeShel1} | |||
ethtool -K eth0 rx-udp-gro-forwarding on rx-gro-list off | |||
exit 0 | |||
''; | |||
}; | |||
}; | }; | ||
}; | }; | ||
</syntaxhighlight> | </syntaxhighlight> |