fail2ban: fix firewall warning

This commit is contained in:
Simon Lackerbauer 2020-03-22 18:11:36 +01:00
parent 54a0e269b3
commit 017dca51fa
No known key found for this signature in database
GPG Key ID: 2B27C889039C0125

View File

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