diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2020-01-06 09:20:03 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2020-01-06 09:20:03 +0100 |
commit | fb9155ed7a6d8bfa9ea39a720e671d89abe5842f (patch) | |
tree | 260c9cea12226d7cb3cf562ebc7e2b38950ee80b | |
parent | 03b984ffa4f9fc5850ed513d390b465b33609f27 (diff) | |
download | nixos-fb9155ed7a6d8bfa9ea39a720e671d89abe5842f.tar nixos-fb9155ed7a6d8bfa9ea39a720e671d89abe5842f.tar.gz nixos-fb9155ed7a6d8bfa9ea39a720e671d89abe5842f.tar.bz2 nixos-fb9155ed7a6d8bfa9ea39a720e671d89abe5842f.tar.xz nixos-fb9155ed7a6d8bfa9ea39a720e671d89abe5842f.zip |
fix borg working dir
-rw-r--r-- | custom/borgbackup.nix | 2 |
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; |