diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-12-17 04:37:47 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-12-17 04:37:47 +0100 |
commit | d1db133ce0f3dbf857268c981501c982b4e3cea4 (patch) | |
tree | b08c8f207d1e4906d90f8121b49f1c7607e6b700 /custom/borgbackup.nix | |
parent | 9621b49ddbd50ceef5fc93c20195d1b35502f1ac (diff) | |
download | nixos-d1db133ce0f3dbf857268c981501c982b4e3cea4.tar nixos-d1db133ce0f3dbf857268c981501c982b4e3cea4.tar.gz nixos-d1db133ce0f3dbf857268c981501c982b4e3cea4.tar.bz2 nixos-d1db133ce0f3dbf857268c981501c982b4e3cea4.tar.xz nixos-d1db133ce0f3dbf857268c981501c982b4e3cea4.zip |
…
Diffstat (limited to 'custom/borgbackup.nix')
-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 b0085bcd..b2969907 100644 --- a/custom/borgbackup.nix +++ b/custom/borgbackup.nix | |||
@@ -86,7 +86,7 @@ in { | |||
86 | --patterns-from .backup \ | 86 | --patterns-from .backup \ |
87 | --one-file-system \ | 87 | --one-file-system \ |
88 | --compression auto,lzma \ | 88 | --compression auto,lzma \ |
89 | ${target}::${cfg.prefix}$1-{utcnow} | 89 | ${tCfg.repo}::${cfg.prefix}$1-{utcnow} |
90 | ''; | 90 | ''; |
91 | in if tCfg.lock == null then borgCmd else "flock -xo /var/lock/${tCfg.lock} ${borgCmd}"; | 91 | in if tCfg.lock == null then borgCmd else "flock -xo /var/lock/${tCfg.lock} ${borgCmd}"; |
92 | scriptArgs = "%i"; | 92 | scriptArgs = "%i"; |