summaryrefslogtreecommitdiff
path: root/custom/borgbackup.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2019-11-24 18:59:22 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2019-11-24 18:59:22 +0100
commit6e36dda31362181007a21fcee8a61c9b7e163af0 (patch)
tree9599cc05f342d5942dc176516c183f56b043d29e /custom/borgbackup.nix
parent03a8b2c710ea21dacda02f9894776272be70f670 (diff)
downloadnixos-6e36dda31362181007a21fcee8a61c9b7e163af0.tar
nixos-6e36dda31362181007a21fcee8a61c9b7e163af0.tar.gz
nixos-6e36dda31362181007a21fcee8a61c9b7e163af0.tar.bz2
nixos-6e36dda31362181007a21fcee8a61c9b7e163af0.tar.xz
nixos-6e36dda31362181007a21fcee8a61c9b7e163af0.zip
...
Diffstat (limited to 'custom/borgbackup.nix')
-rw-r--r--custom/borgbackup.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/borgbackup.nix b/custom/borgbackup.nix
index 2c121fae..b292f6f2 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 withSuffix "%I"; 166 WorkingDirectory = if (cfg.snapshots == null) then "%I" else (if (cfg.snapshots == "lvm") then "${withSuffix "%I"}" else "${withSuffix "%f"}");
167 Nice = 15; 167 Nice = 15;
168 IOSchedulingClass = 2; 168 IOSchedulingClass = 2;
169 IOSchedulingPriority = 7; 169 IOSchedulingPriority = 7;