From 15996ec7804fabdc7a518df50dcfa094c4e971fa Mon Sep 17 00:00:00 2001 From: hodasemi Date: Tue, 3 Jun 2025 15:16:17 +0200 Subject: [PATCH] Change ssh port + prepare forgejo mailer --- git_system.nix | 6 ++++++ shared/ssh.nix | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/git_system.nix b/git_system.nix index 9b7157a..504b43e 100644 --- a/git_system.nix +++ b/git_system.nix @@ -57,6 +57,12 @@ in ENABLED = true; DEFAULT_ACTIONS_URL = "github"; }; + mailer = { + ENABLED = true; + SMTP_ADDR = "TODO"; + FROM = "noreply@${srv.DOMAIN}"; + USER = "noreply@${srv.DOMAIN}"; + }; }; dump = { enable = true; diff --git a/shared/ssh.nix b/shared/ssh.nix index 912d76e..fd93f2b 100644 --- a/shared/ssh.nix +++ b/shared/ssh.nix @@ -8,7 +8,7 @@ openssh = { enable = true; - ports = [ 23 ]; + ports = [ 54222 ]; settings = { AllowUsers = [ "dev" "root" ]; };