diff options
author | Taeradan <Taeradan@users.noreply.github.com> | 2016-05-23 12:44:35 +0200 |
---|---|---|
committer | Joachim Fasting <joachifm@fastmail.fm> | 2016-05-23 15:57:21 +0200 |
commit | 77028b1e8db27602f61d8c32547849ea42ee97c9 (patch) | |
tree | a189c54a5de6e96e104be1d832f2ce75c51d619c /nixos | |
parent | 315101ac700a62b10aeede3bc837a9c19d51fb05 (diff) | |
download | nixlib-77028b1e8db27602f61d8c32547849ea42ee97c9.tar nixlib-77028b1e8db27602f61d8c32547849ea42ee97c9.tar.gz nixlib-77028b1e8db27602f61d8c32547849ea42ee97c9.tar.bz2 nixlib-77028b1e8db27602f61d8c32547849ea42ee97c9.tar.lz nixlib-77028b1e8db27602f61d8c32547849ea42ee97c9.tar.xz nixlib-77028b1e8db27602f61d8c32547849ea42ee97c9.tar.zst nixlib-77028b1e8db27602f61d8c32547849ea42ee97c9.zip |
fail2ban service: add iproute to PATH
iproute is required for blocking via null routes; without it, rules based on routes.conf will fail. Closes #15638
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/security/fail2ban.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/security/fail2ban.nix b/nixos/modules/services/security/fail2ban.nix index 33c4910fc0ce..22e3bb0066cc 100644 --- a/nixos/modules/services/security/fail2ban.nix +++ b/nixos/modules/services/security/fail2ban.nix @@ -102,7 +102,7 @@ in partOf = optional config.networking.firewall.enable "firewall.service"; restartTriggers = [ fail2banConf jailConf ]; - path = [ pkgs.fail2ban pkgs.iptables ]; + path = [ pkgs.fail2ban pkgs.iptables pkgs.iproute ]; preStart = '' |