common: enable fail2ban
This commit is contained in:
parent
d7fc75a3fc
commit
26e139e21d
1 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,8 @@
|
|||
services.openssh.enable = true;
|
||||
services.openssh.settings.PermitRootLogin = lib.mkDefault "no";
|
||||
|
||||
services.fail2ban.enable = true;
|
||||
|
||||
# Activate nix flakes.
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue