quasar/tailscale.nix

12 lines
375 B
Nix
Raw Normal View History

2024-08-30 14:01:57 +02:00
{
networking.nameservers = [ "100.100.100.100" "1.1.1.1" "8.8.8.8" ];
networking.search = [ "hummingbird-stork.ts.net" ];
services.tailscale = {
enable = true;
useRoutingFeatures = "both";
extraUpFlags = [ "--ssh" ];
};
# Tell the firewall to implicitly trust packets routed over Tailscale:
networking.firewall.trustedInterfaces = [ "tailscale0" ];
}