nix-dotfiles/hosts/xps16/services/tailscale.nix
2024-12-04 20:06:57 +01:00

11 lines
221 B
Nix

{ config, ... }:
{
services.tailscale.enable = true;
networking.firewall = {
allowedUDPPorts = [ config.services.tailscale.port ];
checkReversePath = "loose";
trustedInterfaces = [ "tailscale0" ];
};
}