summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-12-17 14:34:03 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2017-12-17 14:34:03 +0100
commit407888693ec092d2b81598bf5b75c8d2e97de461 (patch)
treefe6a421bd4558c1d010098fa04cb4b2f94d2c8cf /custom
parent56e31d4ca09758873e2e7a01f0b4597094fe5eb8 (diff)
downloadnixos-407888693ec092d2b81598bf5b75c8d2e97de461.tar
nixos-407888693ec092d2b81598bf5b75c8d2e97de461.tar.gz
nixos-407888693ec092d2b81598bf5b75c8d2e97de461.tar.bz2
nixos-407888693ec092d2b81598bf5b75c8d2e97de461.tar.xz
nixos-407888693ec092d2b81598bf5b75c8d2e97de461.zip
Diffstat (limited to 'custom')
-rw-r--r--custom/borgbackup.nix2
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")