13 lines
160 B
Nix
13 lines
160 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
services.openssh = {
|
|
enable = true;
|
|
ports = [ 2222 ];
|
|
settings = {
|
|
PasswordAuthentication = false;
|
|
};
|
|
};
|
|
}
|
|
|