summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2019-11-24 18:56:19 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2019-11-24 18:56:19 +0100
commit03a8b2c710ea21dacda02f9894776272be70f670 (patch)
tree9e9242070a4e9c47637010ac355cca36691d05c9
parent3c72017e817ce77a2d7b6a6de7afbd43166da138 (diff)
downloadnixos-03a8b2c710ea21dacda02f9894776272be70f670.tar
nixos-03a8b2c710ea21dacda02f9894776272be70f670.tar.gz
nixos-03a8b2c710ea21dacda02f9894776272be70f670.tar.bz2
nixos-03a8b2c710ea21dacda02f9894776272be70f670.tar.xz
nixos-03a8b2c710ea21dacda02f9894776272be70f670.zip
...
-rw-r--r--custom/borgbackup.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/borgbackup.nix b/custom/borgbackup.nix
index 12f197a6..2c121fae 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 "%i"}"); 166 WorkingDirectory = if (cfg.snapshots == null) then "%I" else withSuffix "%I";
167 Nice = 15; 167 Nice = 15;
168 IOSchedulingClass = 2; 168 IOSchedulingClass = 2;
169 IOSchedulingPriority = 7; 169 IOSchedulingPriority = 7;