At this point I was able to successfully nixos-anywhere the system and SSH back in afterwards. That's progress worth keeping.
19 lines
289 B
Nix
19 lines
289 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;
|
|
}];*/
|
|
};
|
|
|
|
}
|