nix/modules/networking/tailscale.nix
2026-08-28 00:46:08 +02:00

13 lines
384 B
Nix

{ config, ... }:
{
services.tailscale = {
enable = true;
extraUpFlags = [ "--accept-routes" ];
};
networking.firewall.trustedInterfaces = [ config.services.tailscale.interfaceName ];
networking.firewall.allowedUDPPorts = [ config.services.tailscale.port ];
systemd.network.wait-online.enable = false;
boot.initrd.systemd.network.wait-online.enable = false;
}