ts
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user