{ lib, ... }: let inherit (lib) enabled; # Shorter is better for networking interfaces IMO. interface = "ts0"; in { # This doesn't work with dig but works with curl, Zen # and all other tools. Skill issue. services.resolved.domains = [ "warthog-major.ts.net" ]; services.tailscale = enabled { interfaceName = interface; useRoutingFeatures = "both"; }; networking.firewall.trustedInterfaces = [ interface ]; }