summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-09-02 11:36:38 +0200
committerlassulus <git@lassul.us>2023-09-02 11:36:38 +0200
commite59b9c0192fbea275ad3667c5e2dfae8d9b8a840 (patch)
tree44e576ba066ad1d03b86d8acab469004b89f6928
parent9bc7ad4afe727660f05c037386d0a00f5625801a (diff)
l codimd: backup statedir
-rw-r--r--lass/2configs/codimd.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/lass/2configs/codimd.nix b/lass/2configs/codimd.nix
index f8880dbdc..d0ba8912c 100644
--- a/lass/2configs/codimd.nix
+++ b/lass/2configs/codimd.nix
@@ -34,7 +34,10 @@ in
CMD_CSP_ALLOW_FRAMING = "true";
};
- services.borgbackup.jobs.hetzner.paths = [ "/var/backup" ];
+ services.borgbackup.jobs.hetzner.paths = [
+ "/var/backup"
+ "/var/lib/hedgedoc"
+ ];
systemd.services.hedgedoc-backup = {
startAt = "daily";
serviceConfig = {