nix/nixos/common/services/tailscale.nix

5 lines
No EOL
172 B
Nix

{ config, pkgs, ... }: {
# Enable tailscale and open port 22 on it
services = { tailscale.enable = true; };
firewall.interfaces.tailscale0.allowedTCPPorts = [ 22 ];
}