nix-dotfiles/hosts/modules/tailscale.nix
2025-09-02 13:20:43 -06:00

16 lines
322 B
Nix

{ pkgs, ... }:
{
services.tailscale = {
enable = true;
# some tailscale update forced this
package = pkgs.tailscale.overrideAttrs (_: {
doCheck = false;
checkPhase = "true";
});
};
networking.firewall = {
allowedUDPPorts = [ 41641 ];
trustedInterfaces = [ "tailscale0" ];
};
}