From a48c9b8bd2719487f068af7c6368b9b087707117 Mon Sep 17 00:00:00 2001 From: Ittihadyya Date: Thu, 14 Nov 2024 19:24:10 +0200 Subject: [PATCH] tweak ssh ports for fructose --- networking/firewall.mod.nix | 2 -- networking/ssh.mod.nix | 6 +++++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/networking/firewall.mod.nix b/networking/firewall.mod.nix index c35ef7e..0fe944c 100644 --- a/networking/firewall.mod.nix +++ b/networking/firewall.mod.nix @@ -11,10 +11,8 @@ allowedUDPPorts = [ # 53 # pihole # 5894 # couchdb - 222 # forgejo ssh. for the handshake i think ]; allowedTCPPorts = [ - 222 # forgejo ssh 3000 # forgejo # 5894 # couchdb ]; diff --git a/networking/ssh.mod.nix b/networking/ssh.mod.nix index 0e086ed..70ac69e 100644 --- a/networking/ssh.mod.nix +++ b/networking/ssh.mod.nix @@ -14,7 +14,11 @@ ]; }) ]; - + fructose.modules = [ + { + services.openssh.ports = [ 22 222 ]; + } + ]; personal.home_modules = [ { programs.ssh = {