summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-12-17 14:36:22 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2017-12-17 14:36:22 +0100
commitbb1a1a2cb77cd5992927cd094f9bf925f15507ee (patch)
tree8a4bb630ece0dfbf14b9bdf95b076382efb24b2e
parentea9dc62e25a8b263971486eaeabd5aea68179fe0 (diff)
downloadnixos-bb1a1a2cb77cd5992927cd094f9bf925f15507ee.tar
nixos-bb1a1a2cb77cd5992927cd094f9bf925f15507ee.tar.gz
nixos-bb1a1a2cb77cd5992927cd094f9bf925f15507ee.tar.bz2
nixos-bb1a1a2cb77cd5992927cd094f9bf925f15507ee.tar.xz
nixos-bb1a1a2cb77cd5992927cd094f9bf925f15507ee.zip
-rw-r--r--custom/borgbackup.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/custom/borgbackup.nix b/custom/borgbackup.nix
index c3fd8c8f..e68b3379 100644
--- a/custom/borgbackup.nix
+++ b/custom/borgbackup.nix
@@ -125,6 +125,8 @@ in {
125 125
126 script = concatStringsSep "\n" (mapAttrsToList (path: args: '' 126 script = concatStringsSep "\n" (mapAttrsToList (path: args: ''
127 borg prune \ 127 borg prune \
128 --list \
129 --stats \
128 --prefix "${cfg.prefix}${path}" \ 130 --prefix "${cfg.prefix}${path}" \
129 ${concatStringsSep " " args} \ 131 ${concatStringsSep " " args} \
130 ${tCfg.repo} 132 ${tCfg.repo}