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 56e5a740..9c353ba4 100644 --- a/custom/borgbackup.nix +++ b/custom/borgbackup.nix | |||
@@ -77,7 +77,7 @@ in { | |||
77 | }; | 77 | }; |
78 | }) cfg.targets); | 78 | }) cfg.targets); |
79 | 79 | ||
80 | systemd.services = (mapAttrs (target: tCfg: nameValuePair "borgbackup-${target}@" (let | 80 | systemd.services = (mapAttrs' (target: tCfg: nameValuePair "borgbackup-${target}@" (let |
81 | deps = flatten [ | 81 | deps = flatten [ |
82 | (optional (cfg.snapshots == "btrfs") "btrfs-snapshot@%p.service") | 82 | (optional (cfg.snapshots == "btrfs") "btrfs-snapshot@%p.service") |
83 | (optional tCfg.network "network-online.target") | 83 | (optional tCfg.network "network-online.target") |