summaryrefslogtreecommitdiff
path: root/custom/borgbackup.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-12-17 04:22:16 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2017-12-17 04:22:16 +0100
commit68a2cabc37625a0da1266cd90c693aba6df83e5b (patch)
tree5eda3d28c48b808e4146a1f474a6fb39c9a856cc /custom/borgbackup.nix
parent06332dce635dbc3817d6760ababa71ae455cb944 (diff)
downloadnixos-68a2cabc37625a0da1266cd90c693aba6df83e5b.tar
nixos-68a2cabc37625a0da1266cd90c693aba6df83e5b.tar.gz
nixos-68a2cabc37625a0da1266cd90c693aba6df83e5b.tar.bz2
nixos-68a2cabc37625a0da1266cd90c693aba6df83e5b.tar.xz
nixos-68a2cabc37625a0da1266cd90c693aba6df83e5b.zip
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;