nixos: services: fail2ban: persist data
This commit is contained in:
parent
5c5738e1d8
commit
5f607efee8
1 changed files with 4 additions and 0 deletions
|
|
@ -33,5 +33,9 @@ in
|
||||||
bantime = "10m";
|
bantime = "10m";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
my.system.persist.directories = [
|
||||||
|
"/var/lib/fail2ban"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue