Files
config/profiles/sshd/ts-only.nix
2025-02-22 13:09:59 +01:00

7 lines
186 B
Nix

{ config, ... }:
{
imports = [ ./default.nix ];
services.openssh.openFirewall = false;
networking.firewall.interfaces.tailscale0.allowedTCPPorts = config.services.openssh.ports;
}