allow forgejo ssh port

This commit is contained in:
Sakooooo 2025-01-01 15:03:30 +04:00
parent 6a14266676
commit df67864b76
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -5,6 +5,9 @@ in {
options.void.server.services.forgejo = { enable = mkEnableOption false; }; options.void.server.services.forgejo = { enable = mkEnableOption false; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
networking.firewall.allowedTCPPorts = [ 22 ];
services.forgejo = { services.forgejo = {
enable = true; enable = true;
database.type = "postgres"; database.type = "postgres";