summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-12-17 14:23:59 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2017-12-17 14:23:59 +0100
commit468c0971cae3515d9c8dfa854b75b614d08d9251 (patch)
tree5652ea9c7ac782594e9cfb0ea566449f188cbf45 /custom
parent7e6aa521c26d45dc8e76d0bc12bc6d2671eb2603 (diff)
downloadnixos-468c0971cae3515d9c8dfa854b75b614d08d9251.tar
nixos-468c0971cae3515d9c8dfa854b75b614d08d9251.tar.gz
nixos-468c0971cae3515d9c8dfa854b75b614d08d9251.tar.bz2
nixos-468c0971cae3515d9c8dfa854b75b614d08d9251.tar.xz
nixos-468c0971cae3515d9c8dfa854b75b614d08d9251.zip
Diffstat (limited to 'custom')
-rw-r--r--custom/borgbackup.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/borgbackup.nix b/custom/borgbackup.nix
index 5171b722..9047d72e 100644
--- a/custom/borgbackup.nix
+++ b/custom/borgbackup.nix
@@ -98,7 +98,7 @@ in {
98 98
99 preStop = mkIf (hasAttr path tCfg.prune) '' 99 preStop = mkIf (hasAttr path tCfg.prune) ''
100 borg prune \ 100 borg prune \
101 --prefix "${tCfg.prefix}${path}" \ 101 --prefix "${cfg.prefix}${path}" \
102 ${concatStringsSep " " tCfg.prune."${path}"} \ 102 ${concatStringsSep " " tCfg.prune."${path}"} \
103 ${tCfg.repo} 103 ${tCfg.repo}
104 ''; 104 '';