nixos: services: tandoor-recipes: persist data

This commit is contained in:
Bruno BELANYI 2024-11-28 21:47:51 +00:00
parent 4938148255
commit 84f5a89c31

View file

@ -83,6 +83,19 @@ in
};
};
my.services.backup = {
paths = [
"/var/lib/${config.systemd.services.tandoor-recipes.StateDirectory}"
config.systemd.services.tandoor-recipes.environment.MEDIA_ROOT
];
};
my.system.persist.directories = [
"/var/lib/${config.systemd.services.tandoor-recipes.StateDirectory}"
config.systemd.services.tandoor-recipes.environment.MEDIA_ROOT
];
# NOTE: unfortunately tandoor-recipes does not log connection failures for fail2ban
};
}