summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-09 15:13:35 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-09 15:13:35 +0200
commit74be6f940f289dd8f8c41bfad163412c1d809914 (patch)
treee7c240a6ab5fe3f94a7a4a4df5fee7ecd38bb4a0
parent0b38e7f1648766300548df47ead477f4f259a87d (diff)
downloadnixos-74be6f940f289dd8f8c41bfad163412c1d809914.tar
nixos-74be6f940f289dd8f8c41bfad163412c1d809914.tar.gz
nixos-74be6f940f289dd8f8c41bfad163412c1d809914.tar.bz2
nixos-74be6f940f289dd8f8c41bfad163412c1d809914.tar.xz
nixos-74be6f940f289dd8f8c41bfad163412c1d809914.zip
-rw-r--r--custom/borgbackup.nix2
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"];