nixos: services: flood: persist data

This commit is contained in:
Bruno BELANYI 2024-11-28 21:46:25 +00:00
parent 34592cfd52
commit 0ac6fef308

View file

@ -28,6 +28,10 @@ in
}; };
}; };
my.system.persist.directories = [
"/var/lib/${config.systemd.services.flood.serviceConfig.StateDirectory}"
];
# NOTE: unfortunately flood does not log connection failures for fail2ban # NOTE: unfortunately flood does not log connection failures for fail2ban
}; };
} }