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

@ -15,7 +15,7 @@
extraConfig = {
backupPrepareCommand = "${lib.getExe' pkgs.systemd "systemctl"} stop actual.service";
backupCleanupCommand = "${lib.getExe' pkgs.systemd "systemctl"} start actual.service";
paths = [ "/var/lib/actual" ];
paths = [ config.services.actual.settings.dataDir ];
};
};