nix/nixos/common/services/tailscale.nix
2023-08-23 17:14:13 +09:00

5 lines
No EOL
183 B
Nix

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