Don't hardcode backup paths

This commit is contained in:
SebastianStork 2025-04-29 20:48:17 +02:00
parent 73a17261cc
commit b381835c6c
5 changed files with 14 additions and 14 deletions

View file

@ -14,7 +14,10 @@
extraConfig = {
backupPrepareCommand = "${lib.getExe' pkgs.systemd "systemctl"} stop hedgedoc.service";
backupCleanupCommand = "${lib.getExe' pkgs.systemd "systemctl"} start hedgedoc.service";
paths = [ "/var/lib/hedgedoc" ];
paths = with config.services.hedgedoc.settings; [
uploadsPath
db.storage
];
};
};