nix/nixos/common/services/tailscale.nix

5 lines
172 B
Nix
Raw Normal View History

2023-08-23 07:30:15 +02:00
{ config, pkgs, ... }: {
# Enable tailscale and open port 22 on it
services = { tailscale.enable = true; };
firewall.interfaces.tailscale0.allowedTCPPorts = [ 22 ];
}