diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-09 15:14:06 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-09 15:14:06 +0200 |
commit | 30d2149c4b1184e1c8d7a72ade5f70474c90cfc9 (patch) | |
tree | b24677306e1260800b94d1117d30cd2a093bb66f /custom | |
parent | 74be6f940f289dd8f8c41bfad163412c1d809914 (diff) | |
download | nixos-30d2149c4b1184e1c8d7a72ade5f70474c90cfc9.tar nixos-30d2149c4b1184e1c8d7a72ade5f70474c90cfc9.tar.gz nixos-30d2149c4b1184e1c8d7a72ade5f70474c90cfc9.tar.bz2 nixos-30d2149c4b1184e1c8d7a72ade5f70474c90cfc9.tar.xz nixos-30d2149c4b1184e1c8d7a72ade5f70474c90cfc9.zip |
…
Diffstat (limited to 'custom')
-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 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"]; |