From ea9dc62e25a8b263971486eaeabd5aea68179fe0 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 17 Dec 2017 14:35:01 +0100 Subject: =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom/borgbackup.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/custom/borgbackup.nix b/custom/borgbackup.nix index 005c6e76..c3fd8c8f 100644 --- a/custom/borgbackup.nix +++ b/custom/borgbackup.nix @@ -121,6 +121,8 @@ in { bindsTo = ["network-online.target"]; after = ["network-online.target"]; + path = with pkgs; [borgbackup]; + script = concatStringsSep "\n" (mapAttrsToList (path: args: '' borg prune \ --prefix "${cfg.prefix}${path}" \ -- cgit v1.2.3