From f297ae1611adb71eab9cfc965e74045105b356df Mon Sep 17 00:00:00 2001 From: 514fpv Date: Mon, 1 Apr 2024 08:07:29 +0800 Subject: [PATCH] fix(auth): add utility port to firewall allow --- global/auth/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/global/auth/default.nix b/global/auth/default.nix index 45e245fd..1c0572a6 100644 --- a/global/auth/default.nix +++ b/global/auth/default.nix @@ -42,7 +42,7 @@ in { settings.PasswordAuthentication = cfg.openssh.password; }; - networking.firewall.allowedTCPPorts = [ ] ++ + networking.firewall.allowedTCPPorts = [ 1300 ] ++ # utility port optional (cfg.openssh.enable && (cfg.openssh.port != null)) cfg.openssh.port; environment.persistence."/nix/persist/fhs".directories = [ ] ++