tangled
alpha
login
or
join now
devins.page
/
flake
0
fork
atom
configurations for my servers and desktops
nix
nixos
flake
dots
dotfiles
0
fork
atom
overview
issues
pulls
pipelines
feat: fix tailscale things
devins.page
1 month ago
761b1526
27f198af
+16
-2
1 changed file
expand all
collapse all
unified
split
modules
nixos
services
tailscale.nix
+16
-2
modules/nixos/services/tailscale.nix
···
1
1
-
{...}: {
2
2
-
services.tailscale.enable = true;
1
1
+
{pkgs, ...}: {
2
2
+
services.tailscale = {
3
3
+
enable = true;
4
4
+
useRoutingFeatures = "both";
5
5
+
openFirewall = true;
6
6
+
};
7
7
+
8
8
+
services.networkd-dispatcher = {
9
9
+
enable = true;
10
10
+
rules."50-tailscale-optimizations" = {
11
11
+
onState = ["routable"];
12
12
+
script = ''
13
13
+
${pkgs.ethtool}/bin/ethtool -K eth0 rx-udp-gro-forwarding on rx-gro-list off
14
14
+
'';
15
15
+
};
16
16
+
};
3
17
}