nixos: services: fail2ban: persist data
This commit is contained in:
parent
2f48ef0cdb
commit
ad3b8a57e8
|
@ -33,5 +33,9 @@ in
|
||||||
bantime = "10m";
|
bantime = "10m";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
my.system.persist.directories = [
|
||||||
|
"/var/lib/${config.systemd.services.fail2ban.serviceConfig.StateDirectory}"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue