summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--custom/borgbackup.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/borgbackup.nix b/custom/borgbackup.nix
index b292f6f2..1aa1cdec 100644
--- a/custom/borgbackup.nix
+++ b/custom/borgbackup.nix
@@ -163,7 +163,7 @@ in {
163 163
164 serviceConfig = { 164 serviceConfig = {
165 Type = "oneshot"; 165 Type = "oneshot";
166 WorkingDirectory = if (cfg.snapshots == null) then "%I" else (if (cfg.snapshots == "lvm") then "${withSuffix "%I"}" else "${withSuffix "%f"}"); 166 WorkingDirectory = if (cfg.snapshots == null) then "%I" else (if (cfg.snapshots == "lvm") then "${mountPoint}/${withSuffix "%I"}" else "${withSuffix "%f"}");
167 Nice = 15; 167 Nice = 15;
168 IOSchedulingClass = 2; 168 IOSchedulingClass = 2;
169 IOSchedulingPriority = 7; 169 IOSchedulingPriority = 7;