From 03a8b2c710ea21dacda02f9894776272be70f670 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 24 Nov 2019 18:56:19 +0100 Subject: ... --- custom/borgbackup.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { serviceConfig = { Type = "oneshot"; - WorkingDirectory = if (cfg.snapshots == null) then "%I" else (if (cfg.snapshots == "lvm") then "${withSuffix "%I"}" else "${withSuffix "%i"}"); + WorkingDirectory = if (cfg.snapshots == null) then "%I" else withSuffix "%I"; Nice = 15; IOSchedulingClass = 2; IOSchedulingPriority = 7; -- cgit v1.2.3