0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

nixos/fail2ban: change bantime default to not be config breaking

This commit is contained in:
Sandro Jäckel 2023-10-21 02:33:09 +02:00
parent ac46dc76b6
commit 7f94b9e9c6
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -103,9 +103,9 @@ in
};
bantime = mkOption {
default = null;
type = types.nullOr types.str;
example = "10m";
default = "10m";
type = types.str;
example = "1h";
description = lib.mdDoc "Number of seconds that a host is banned.";
};