mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-01-18 21:29:33 +01:00
20 lines
383 B
Nix
20 lines
383 B
Nix
{ pkgs, config, ... }:
|
|
{
|
|
services.tailscale = {
|
|
enable = true;
|
|
# useRoutingFeatures = "server";
|
|
};
|
|
|
|
/*
|
|
services.networkd-dispatcher = {
|
|
enable = true;
|
|
rules."50-tailscale" = {
|
|
onState = [ "routable" ];
|
|
script = ''
|
|
${pkgs.ethtool}/bin/ethtool -K ens18 rx-udp-gro-forwarding on rx-gro-list off
|
|
'';
|
|
};
|
|
};
|
|
*/
|
|
}
|