nixos: services: tandoor-recipes: persist data
This commit is contained in:
parent
feccb7ba2b
commit
cc42b3f3d8
|
@ -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
|
# NOTE: unfortunately tandoor-recipes does not log connection failures for fail2ban
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue