mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos/fail2ban: change bantime default to not be config breaking
This commit is contained in:
parent
ac46dc76b6
commit
7f94b9e9c6
1 changed files with 3 additions and 3 deletions
|
@ -103,9 +103,9 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
bantime = mkOption {
|
bantime = mkOption {
|
||||||
default = null;
|
default = "10m";
|
||||||
type = types.nullOr types.str;
|
type = types.str;
|
||||||
example = "10m";
|
example = "1h";
|
||||||
description = lib.mdDoc "Number of seconds that a host is banned.";
|
description = lib.mdDoc "Number of seconds that a host is banned.";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue