Add ssh rules for forgejo user

This commit is contained in:
hodasemi 2025-06-10 09:14:33 +02:00
parent e5252690a6
commit d2a86a39ae
2 changed files with 8 additions and 1 deletions

View file

@ -73,6 +73,13 @@ in
};
};
openssh = {
ports = [ 62 ];
settings = {
AllowUsers = [ "forgejo" ];
};
};
renovate = {
enable = true;
schedule = "1 h";

View file

@ -23,6 +23,6 @@
networking.firewall = {
enable = true;
allowedTCPPorts = [ 62 80 443 ];
allowedTCPPorts = [ 80 443 ];
};
}