nixos: services: fail2ban: persist data

This commit is contained in:
Bruno BELANYI 2024-11-28 21:46:13 +00:00
parent 075a52f8db
commit 34592cfd52

View file

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