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 8d25ec0b..dcdd046d 100644
--- a/custom/borgbackup.nix
+++ b/custom/borgbackup.nix
@@ -154,7 +154,7 @@ 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 = length tCfg.prune != 0; 157 enable = tCfg.prune != {};
158 158
159 bindsTo = ["network-online.target"]; 159 bindsTo = ["network-online.target"];
160 after = ["network-online.target"]; 160 after = ["network-online.target"];