nixos: services: tandoor-recipes: persist data
This commit is contained in:
parent
4938148255
commit
84f5a89c31
|
@ -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
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue