diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-14 17:57:09 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-14 17:57:09 +0200 |
commit | 964e8f1274fc0a25496ec40dcf5d0fdeccfa6681 (patch) | |
tree | f9eda5d2e960127540170a07908d29e1a7b0177f /custom | |
parent | ec27ae1489f92848d03d950a40d0ac96ca68216a (diff) | |
download | nixos-964e8f1274fc0a25496ec40dcf5d0fdeccfa6681.tar nixos-964e8f1274fc0a25496ec40dcf5d0fdeccfa6681.tar.gz nixos-964e8f1274fc0a25496ec40dcf5d0fdeccfa6681.tar.bz2 nixos-964e8f1274fc0a25496ec40dcf5d0fdeccfa6681.tar.xz nixos-964e8f1274fc0a25496ec40dcf5d0fdeccfa6681.zip |
better names
Diffstat (limited to 'custom')
-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 8d63e725..a10f6590 100644 --- a/custom/borgbackup.nix +++ b/custom/borgbackup.nix | |||
@@ -141,7 +141,7 @@ in { | |||
141 | ${tCfg.repo}::${cfg.prefix}$1-{utcnow} | 141 | ${tCfg.repo}::${cfg.prefix}$1-{utcnow} |
142 | ''; | 142 | ''; |
143 | in if tCfg.lock == null then borgCmd else "flock -xo /var/lock/${tCfg.lock} ${borgCmd}"; | 143 | in if tCfg.lock == null then borgCmd else "flock -xo /var/lock/${tCfg.lock} ${borgCmd}"; |
144 | scriptArgs = "%i"; | 144 | scriptArgs = "%I"; |
145 | 145 | ||
146 | unitConfig = { | 146 | unitConfig = { |
147 | AssertPathIsDirectory = mkIf (tCfg.lock != null) "/var/lock"; | 147 | AssertPathIsDirectory = mkIf (tCfg.lock != null) "/var/lock"; |