alerts...

This commit is contained in:
plasmagoat 2025-06-04 05:03:02 +02:00
parent 7278922625
commit fc9971ddc9
5 changed files with 324 additions and 4 deletions

View file

@ -3,6 +3,7 @@ let
cfg = config.services.forgejo;
srv = cfg.settings.server;
domain = "git.procopius.dk";
ssh_domain = "gitssh.procopius.dk";
in
{
users.users.plasmagoat.extraGroups = [ "forgejo" ];
@ -19,6 +20,10 @@ in
ROOT_URL = "https://${srv.DOMAIN}/";
PROTOCOL = "http";
HTTP_PORT = 3000;
START_SSH_SERVER = true;
SSH_PORT = 2222;
SSH_DOMAIN = ssh_domain;
};
database = {
DB_TYPE = lib.mkForce "postgres";
@ -61,5 +66,5 @@ in
'';
# Optional: firewall
networking.firewall.allowedTCPPorts = [ 3000 ];
networking.firewall.allowedTCPPorts = [ 3000 2222 ];
}