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 ab826757..e688e519 100644 --- a/custom/borgbackup.nix +++ b/custom/borgbackup.nix | |||
@@ -154,6 +154,8 @@ in { | |||
154 | SuccessExitStatus = [1 2]; | 154 | SuccessExitStatus = [1 2]; |
155 | }; | 155 | }; |
156 | })) cfg.targets) // (mapAttrs' (target: tCfg: nameValuePair "borgbackup-prune-${target}" { | 156 | })) cfg.targets) // (mapAttrs' (target: tCfg: nameValuePair "borgbackup-prune-${target}" { |
157 | enable = !(null tCfg.prune); | ||
158 | |||
157 | bindsTo = ["network-online.target"]; | 159 | bindsTo = ["network-online.target"]; |
158 | after = ["network-online.target"]; | 160 | after = ["network-online.target"]; |
159 | 161 | ||