{ config, ... }: { networking.firewall.trustedInterfaces = [ "${config.services.tailscale.interfaceName}" ]; services.tailscale = { enable = true; useRoutingFeatures = "both"; }; # boot.kernel.sysctl = { "net.ipv4.ip_forward" = true; "net.ipv6.conf.all.forwarding" = true; }; }