feat: Enable fail2ban

Closes #89
This commit is contained in:
Inex Code 2024-10-02 16:52:56 +03:00
parent f8723bf4f9
commit ccd59f628d

View file

@ -81,6 +81,7 @@ in
openFirewall = false;
};
services.fail2ban.enable = true;
programs.ssh = {
pubkeyAcceptedKeyTypes = [ "ssh-ed25519" "ssh-rsa" "ecdsa-sha2-nistp256" ];
hostKeyAlgorithms = [ "ssh-ed25519" "ssh-rsa" ];