configurations for my servers and desktops
nix nixos flake dots dotfiles

feat: fix tailscale things

+16 -2
+16 -2
modules/nixos/services/tailscale.nix
··· 1 - {...}: { 2 - services.tailscale.enable = true; 1 + {pkgs, ...}: { 2 + services.tailscale = { 3 + enable = true; 4 + useRoutingFeatures = "both"; 5 + openFirewall = true; 6 + }; 7 + 8 + services.networkd-dispatcher = { 9 + enable = true; 10 + rules."50-tailscale-optimizations" = { 11 + onState = ["routable"]; 12 + script = '' 13 + ${pkgs.ethtool}/bin/ethtool -K eth0 rx-udp-gro-forwarding on rx-gro-list off 14 + ''; 15 + }; 16 + }; 3 17 }