2022-12-19 09:09:08 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
port = 2222;
|
2022-10-30 19:12:52 +00:00
|
|
|
in {
|
|
|
|
services.openssh = {
|
|
|
|
enable = true;
|
2022-12-19 09:09:08 +00:00
|
|
|
ports = [port];
|
2022-10-30 19:12:52 +00:00
|
|
|
};
|
2022-12-19 09:09:08 +00:00
|
|
|
networking.firewall.allowedTCPPorts = [port];
|
2022-10-30 19:12:52 +00:00
|
|
|
}
|