add fail2ban
This commit is contained in:
@ -1,7 +1,13 @@
|
||||
# BIASED
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
config = {
|
||||
services = lib.mkIf config.services.gitea.enable {
|
||||
fail2ban = {
|
||||
enable = true;
|
||||
|
||||
};
|
||||
|
||||
openssh = {
|
||||
extraConfig = ''
|
||||
Match User gitea
|
||||
|
Reference in New Issue
Block a user