6 lines
148 B
Nix
Executable file
6 lines
148 B
Nix
Executable file
{
|
|
# Enable the OpenSSH daemon.
|
|
services.openssh.enable = true;
|
|
# Enable fail2ban to make ssh more secure
|
|
services.fail2ban.enable = true;
|
|
}
|