nixos: services: fail2ban: persist data

This commit is contained in:
Bruno BELANYI 2024-11-28 21:46:13 +00:00
parent 2f48ef0cdb
commit ad3b8a57e8

View file

@ -33,5 +33,9 @@ in
bantime = "10m"; bantime = "10m";
}; };
}; };
my.system.persist.directories = [
"/var/lib/${config.systemd.services.fail2ban.serviceConfig.StateDirectory}"
];
}; };
} }