nixos/fail2ban: others small update

This commit is contained in:
Izorkin 2023-04-26 23:08:37 +03:00 committed by pennae
parent 544ebba973
commit edb40b3e4f

View file

@ -285,7 +285,7 @@ in
} }
]; ];
warnings = mkIf (config.networking.firewall.enable == false && config.networking.nftables.enable == false) [ warnings = mkIf (!config.networking.firewall.enable && !config.networking.nftables.enable) [
"fail2ban can not be used without a firewall" "fail2ban can not be used without a firewall"
]; ];