nixos: services: mealie: persist data

This commit is contained in:
Bruno BELANYI 2024-11-28 21:47:06 +00:00
parent 26ddf69e6f
commit a3d3a34ef0

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 = { services.fail2ban.jails = {
mealie = '' mealie = ''
enabled = true enabled = true