···216217 config = mkIf cfg.enable {
218219- warnings = mkIf (config.networking.firewall.enable == false || config.networking.nftables.enable == false) [
220 "fail2ban can not be used without a firewall"
221 ];
222
···216217 config = mkIf cfg.enable {
218219+ warnings = mkIf (config.networking.firewall.enable == false && config.networking.nftables.enable == false) [
220 "fail2ban can not be used without a firewall"
221 ];
222