mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 19:51: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
|
|
@ -24,7 +24,7 @@ in
|
|||
extraConfig = {
|
||||
backupPrepareCommand = "${lib.getExe' pkgs.systemd "systemctl"} stop syncthing.service";
|
||||
backupCleanupCommand = "${lib.getExe' pkgs.systemd "systemctl"} start syncthing.service";
|
||||
paths = [ "/var/lib/syncthing" ];
|
||||
paths = [ config.services.syncthing.dataDir ];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue