nix-dotfiles/hosts/xps16/services/tailscale.nix

11 lines
221 B
Nix
Raw Normal View History

2024-12-04 20:06:57 +01:00
{ config, ... }:
{
services.tailscale.enable = true;
networking.firewall = {
allowedUDPPorts = [ config.services.tailscale.port ];
checkReversePath = "loose";
trustedInterfaces = [ "tailscale0" ];
};
}