diff --git a/darwin/shiro/services/tailscale.nix b/darwin/shiro/services/tailscale.nix index 44ce5785..175d3b09 100644 --- a/darwin/shiro/services/tailscale.nix +++ b/darwin/shiro/services/tailscale.nix @@ -1,5 +1,9 @@ {...}: { - services.tailscale = { - enable = true; + services = { + tailscale = { + enable = true; + useRoutingFeatures = "both"; + extraUpFlags = ["--advertise-routes=192.168.0.0/24"]; + }; }; } diff --git a/nixos/ryu/services/tailscale.nix b/nixos/ryu/services/tailscale.nix index 800a81c9..3ce346d7 100644 --- a/nixos/ryu/services/tailscale.nix +++ b/nixos/ryu/services/tailscale.nix @@ -6,17 +6,17 @@ services = { tailscale = { enable = true; - useRoutingFeatures = "both"; - extraUpFlags = ["--advertise-routes=192.168.0.0/24"]; - }; - networkd-dispatcher = { - enable = true; - rules."50-tailscale" = { - onState = ["routable"]; - script = '' - ${lib.getExe pkgs.ethtool} -K en01 rx-udp-gro-forwarding on rg-xgro-list off - ''; - }; + # useRoutingFeatures = "both"; + # extraUpFlags = ["--advertise-routes=192.168.0.0/24"]; }; + # networkd-dispatcher = { + # enable = true; + # rules."50-tailscale" = { + # onState = ["routable"]; + # script = '' + # ${lib.getExe pkgs.ethtool} -K en01 rx-udp-gro-forwarding on rg-xgro-list off + # ''; + # }; + # }; }; }