summaryrefslogtreecommitdiff
path: root/custom/borgbackup.nix
diff options
context:
space:
mode:
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 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 '';