mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
Don't hardcode backup paths
This commit is contained in:
parent
73a17261cc
commit
b381835c6c
5 changed files with 14 additions and 14 deletions
|
|
@ -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 ];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue