nixos/fail2ban: others small update
This commit is contained in:
parent
544ebba973
commit
edb40b3e4f
@ -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"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user