diff options
-rw-r--r-- | custom/borgbackup.nix | 2 |
1 files changed, 2 insertions, 0 deletions
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 { | |||
121 | bindsTo = ["network-online.target"]; | 121 | bindsTo = ["network-online.target"]; |
122 | after = ["network-online.target"]; | 122 | after = ["network-online.target"]; |
123 | 123 | ||
124 | path = with pkgs; [borgbackup]; | ||
125 | |||
124 | script = concatStringsSep "\n" (mapAttrsToList (path: args: '' | 126 | script = concatStringsSep "\n" (mapAttrsToList (path: args: '' |
125 | borg prune \ | 127 | borg prune \ |
126 | --prefix "${cfg.prefix}${path}" \ | 128 | --prefix "${cfg.prefix}${path}" \ |