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:
parent
ac46dc76b6
commit
7f94b9e9c6
1 changed files with 3 additions and 3 deletions
|
@ -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.";
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue