try with forgejo git ssh port on 22
This commit is contained in:
parent
9ad00da92a
commit
a67d75e196
4 changed files with 18 additions and 5 deletions
|
|
@ -56,6 +56,15 @@ in
|
|||
virtualisation.proxmox.enable = true;
|
||||
};
|
||||
|
||||
# Management SSH on 5022; port 22 is used by Forgejo built-in Git SSH
|
||||
services.openssh.ports = [ 5022 ];
|
||||
|
||||
systemd.services.forgejo.serviceConfig = {
|
||||
AmbientCapabilities = [ "CAP_NET_BIND_SERVICE" ];
|
||||
CapabilityBoundingSet = lib.mkForce [ "CAP_NET_BIND_SERVICE" ];
|
||||
PrivateUsers = lib.mkForce false;
|
||||
};
|
||||
|
||||
# Extra packages
|
||||
environment.systemPackages = with pkgs; [ ];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue