This commit is contained in:
2025-08-10 00:45:47 +02:00
parent a255fed1ae
commit 88c2c9d1ee
3 changed files with 48 additions and 3 deletions
+6 -1
View File
@@ -1,6 +1,11 @@
{ config, ... }:
let
inherit (config.services.tailscale) interfaceName;
in
{
imports = [ ./default.nix ];
services.openssh.openFirewall = false;
networking.firewall.interfaces.tailscale0.allowedTCPPorts = config.services.openssh.ports;
networking.firewall.interfaces.${interfaceName}.allowedTCPPorts = config.services.openssh.ports;
}