summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-12-17 14:34:27 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2017-12-17 14:34:27 +0100
commit3e794ecc28744ec784f4bb68f9516a7a6a317de9 (patch)
treefdfa2def1b94ad95aae83c540e3f76846c0c2171 /custom
parent407888693ec092d2b81598bf5b75c8d2e97de461 (diff)
downloadnixos-3e794ecc28744ec784f4bb68f9516a7a6a317de9.tar
nixos-3e794ecc28744ec784f4bb68f9516a7a6a317de9.tar.gz
nixos-3e794ecc28744ec784f4bb68f9516a7a6a317de9.tar.bz2
nixos-3e794ecc28744ec784f4bb68f9516a7a6a317de9.tar.xz
nixos-3e794ecc28744ec784f4bb68f9516a7a6a317de9.zip
Diffstat (limited to 'custom')
-rw-r--r--custom/borgbackup.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/custom/borgbackup.nix b/custom/borgbackup.nix
index 9c353ba4..005c6e76 100644
--- a/custom/borgbackup.nix
+++ b/custom/borgbackup.nix
@@ -118,8 +118,8 @@ in {
118 SuccessExitStatus = [1 2]; 118 SuccessExitStatus = [1 2];
119 }; 119 };
120 })) cfg.targets) // (mapAttrs' (target: tCfg: nameValuePair "borgbackup-prune-${target}" { 120 })) cfg.targets) // (mapAttrs' (target: tCfg: nameValuePair "borgbackup-prune-${target}" {
121 bindsTo = "network-online.target"; 121 bindsTo = ["network-online.target"];
122 after = "network-online.target"; 122 after = ["network-online.target"];
123 123
124 script = concatStringsSep "\n" (mapAttrsToList (path: args: '' 124 script = concatStringsSep "\n" (mapAttrsToList (path: args: ''
125 borg prune \ 125 borg prune \