tailscale/exit-node/server: remove ethtool from path and modify interface
This commit is contained in:
parent
b63fb76045
commit
4deded9963
1 changed files with 1 additions and 2 deletions
|
|
@ -7,13 +7,12 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# performance improvement
|
# performance improvement
|
||||||
environment.systemPackages = [ pkgs.ethtool ];
|
|
||||||
services.networkd-dispatcher = {
|
services.networkd-dispatcher = {
|
||||||
enable = true;
|
enable = true;
|
||||||
rules."50-tailscale" = {
|
rules."50-tailscale" = {
|
||||||
onState = [ "routable" ];
|
onState = [ "routable" ];
|
||||||
script = ''
|
script = ''
|
||||||
${lib.getExe pkgs.ethtool} -K eth0 rx-udp-gro-forwarding on rx-gro-list off
|
${lib.getExe pkgs.ethtool} -K enp0s20f0u1 rx-udp-gro-forwarding on rx-gro-list off
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue