26 lines
619 B
Nix
26 lines
619 B
Nix
{ ... }:
|
|
|
|
{
|
|
services = {
|
|
openssh = {
|
|
enable = true;
|
|
ports = [ 10022 ];
|
|
openFirewall = true;
|
|
PrintMotd = true;
|
|
banner = ''
|
|
__ __ __
|
|
/'__`\ /\ \ /'_ `\
|
|
___ /\_\L\ \\ \ \/'\ /\ \L\ \ ____
|
|
/'___\/_/_\_<_\ \ , < \/_> _ <_ /',__\
|
|
/\ \__/ /\ \L\ \\ \ \\`\ /\ \L\ \/\__, `\
|
|
\ \____\\ \____/ \ \_\ \_\ \____/\/\____/
|
|
\/____/ \/___/ \/_/\/_/\/___/ \/___/
|
|
'';
|
|
settings = {
|
|
PasswordAuthentication = false;
|
|
KbdInteractiveAuthentication = false;
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|