diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-12-17 14:34:03 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-12-17 14:34:03 +0100 |
commit | 407888693ec092d2b81598bf5b75c8d2e97de461 (patch) | |
tree | fe6a421bd4558c1d010098fa04cb4b2f94d2c8cf | |
parent | 56e31d4ca09758873e2e7a01f0b4597094fe5eb8 (diff) | |
download | nixos-407888693ec092d2b81598bf5b75c8d2e97de461.tar nixos-407888693ec092d2b81598bf5b75c8d2e97de461.tar.gz nixos-407888693ec092d2b81598bf5b75c8d2e97de461.tar.bz2 nixos-407888693ec092d2b81598bf5b75c8d2e97de461.tar.xz nixos-407888693ec092d2b81598bf5b75c8d2e97de461.zip |
…
-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") |