11 lines
202 B
Nix
11 lines
202 B
Nix
{
|
|
networking.firewall.enable = true;
|
|
services = {
|
|
fail2ban.enable = true;
|
|
openssh = {
|
|
enable = true;
|
|
ports = [1322];
|
|
settings.PasswordAuthentication = false;
|
|
};
|
|
};
|
|
}
|