diff options
-rw-r--r-- | custom/borgbackup.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/borgbackup.nix b/custom/borgbackup.nix index e688e519..8d25ec0b 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 = !(null tCfg.prune); | 157 | enable = length tCfg.prune != 0; |
158 | 158 | ||
159 | bindsTo = ["network-online.target"]; | 159 | bindsTo = ["network-online.target"]; |
160 | after = ["network-online.target"]; | 160 | after = ["network-online.target"]; |