From b4c069b1476a92a540e906ef95cd7fb380d29c63 Mon Sep 17 00:00:00 2001 From: talyz Date: Wed, 16 Jun 2021 10:25:45 +0200 Subject: [PATCH] nixos/fail2ban: Remove `reloadIfChanged = true` This makes the service fail when upgrading the package, so let's properly restart it instead. --- nixos/modules/services/security/fail2ban.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/nixos/modules/services/security/fail2ban.nix b/nixos/modules/services/security/fail2ban.nix index 0c24972823dd..07702bfb9d0f 100644 --- a/nixos/modules/services/security/fail2ban.nix +++ b/nixos/modules/services/security/fail2ban.nix @@ -257,7 +257,6 @@ in partOf = optional config.networking.firewall.enable "firewall.service"; restartTriggers = [ fail2banConf jailConf pathsConf ]; - reloadIfChanged = true; path = [ cfg.package cfg.packageFirewall pkgs.iproute2 ] ++ cfg.extraPackages;