15 lines
230 B
Nix
15 lines
230 B
Nix
{ ... }:
|
|
{
|
|
imports = [ ./fail2ban ];
|
|
|
|
services.openssh = {
|
|
enable = true;
|
|
settings = {
|
|
PermitRootLogin = "no";
|
|
PrintLastLog = "no";
|
|
PasswordAuthentication = false;
|
|
UsePAM = false;
|
|
};
|
|
};
|
|
}
|