MyNixOS website logo
option

services.fail2ban.daemonSettings

The contents of Fail2ban's main configuration file. It's generally not necessary to change it.

Declarations
Type
attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string))
Default
{
  Definition = {
    logtarget = "SYSLOG";
    socket = "/run/fail2ban/fail2ban.sock";
    pidfile = "/run/fail2ban/fail2ban.pid";
    dbfile = "/var/lib/fail2ban/fail2ban.sqlite3";
  };
}