summaryrefslogtreecommitdiff
path: root/custom/borgbackup.nix
diff options
context:
space:
mode:
Diffstat (limited to 'custom/borgbackup.nix')
-rw-r--r--custom/borgbackup.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/custom/borgbackup.nix b/custom/borgbackup.nix
index f93c0e9d..28dbba16 100644
--- a/custom/borgbackup.nix
+++ b/custom/borgbackup.nix
@@ -65,8 +65,8 @@ in {
65 65
66 systemd.services = mapAttrs' (target: tCfg: nameValuePair "borgbackup-${target}@" (let 66 systemd.services = mapAttrs' (target: tCfg: nameValuePair "borgbackup-${target}@" (let
67 deps = flatten [ 67 deps = flatten [
68 optional (cfg.snapshots == "btrfs") "btrfs-snapshot@%i.service" 68 (optional (cfg.snapshots == "btrfs") "btrfs-snapshot@%i.service")
69 optional tCfg.network "network-online.target" 69 (optional tCfg.network "network-online.target")
70 ]; 70 ];
71 in { 71 in {
72 bindsTo = deps; 72 bindsTo = deps;