summaryrefslogtreecommitdiff
path: root/modules/core/networking/firewall
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/networking/firewall')
-rw-r--r--modules/core/networking/firewall/fail2ban.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/modules/core/networking/firewall/fail2ban.nix b/modules/core/networking/firewall/fail2ban.nix
index 606b725..eb10b69 100644
--- a/modules/core/networking/firewall/fail2ban.nix
+++ b/modules/core/networking/firewall/fail2ban.nix
@@ -1,7 +1,11 @@
-{ pkgs, ... }:
+{
+ config,
+ pkgs,
+ ...
+}:
{
services.fail2ban = {
- enable = false;
+ enable = config.modules.networking.fail2ban.enable;
extraPackages = with pkgs; [
nftables