mirror of
https://git.lgmrszd.xyz/Lgmrszd/nix-cfg.git
synced 2025-12-14 15:48:21 +01:00
vps1: override ssh port
This commit is contained in:
parent
2575869f2b
commit
3deb5233a4
2 changed files with 2 additions and 2 deletions
|
|
@ -35,7 +35,7 @@ in
|
|||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
ports = [ 37163 gitSSHPort ];
|
||||
ports = [ (if data ? sshPort then data.sshPort else 37163) gitSSHPort ];
|
||||
settings.PermitRootLogin = "no";
|
||||
settings.PasswordAuthentication = false;
|
||||
extraConfig = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue