nixos-systems/modules/system/openssh.nix
Eli Ribble 840c68524f
Add alternative IP address and SSH port
I was trying to use it to get around public wifi firewalls
2025-12-11 14:31:58 +00:00

19 lines
287 B
Nix

{ config, configFiles, lib, pkgs, ... }:
{
services.openssh = {
enable = true;
# ports = [ 22 16652 ];
listenAddresses = [{
addr = "63.141.227.154";
port = 22;
} {
addr = "63.141.227.154";
port = 16652;
} {
addr = "63.141.227.155";
port = 443;
}];
};
}