nixos: services: mealie: persist data

This commit is contained in:
Bruno BELANYI 2024-11-28 21:47:06 +00:00
parent dbc919e3d8
commit d0b926251d

View file

@ -72,6 +72,16 @@ in
};
};
my.services.backup = {
paths = [
"/var/lib/${config.systemd.services.mealie.serviceConfig.StateDirectory}"
];
};
my.system.persist.directories = [
"/var/lib/${config.systemd.services.mealie.serviceConfig.StateDirectory}"
];
services.fail2ban.jails = {
mealie = ''
enabled = true