Files
nixos-dotfiles/modules/networking/tailscale.nix
T
2026-06-21 21:19:52 -05:00

17 lines
417 B
Nix

{ ... }:
{
services.tailscale.enable = true;
networking.firewall = {
trustedInterfaces = [ config.services.tailscale.interfaceName ];
allowedUDPPorts = [ config.services.tailscale.port ];
};
systemd.services.tailscaled.serviceConfig.Environment = [
"TS_DEBUG_FIREWALL_MODE=nftables"
];
systemd.network.wait-online.enable = false;
boot.initrd.systemd.network.wait-online.enable = false;
}