diff options
author | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2024-03-22 16:15:20 +0700 |
---|---|---|
committer | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2024-03-22 16:15:20 +0700 |
commit | e45cd883c11bface69e5d3693637585a30dafa6d (patch) | |
tree | 4b691d8c3e6f1645b12346e68f96aa755c2f9044 | |
parent | 4a5be726c77c5989552c19f60d0e2731a64e2190 (diff) | |
download | nixos-conf-e45cd883c11bface69e5d3693637585a30dafa6d.tar.gz |
Fix fail2ban log
-rw-r--r-- | fail2ban.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fail2ban.nix b/fail2ban.nix index d30f6b0..018d4d8 100644 --- a/fail2ban.nix +++ b/fail2ban.nix @@ -18,7 +18,7 @@ { pkgs, ... }: { - services.jail2ban = { + services.fail2ban = { enable = true; bantime = "30m"; bantime-increment = { @@ -33,4 +33,4 @@ }; }; }; -}; +} |