diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-12-17 04:09:24 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-12-17 04:09:24 +0100 |
commit | 2140a07f2d105b4d5906f06287e5183461b80542 (patch) | |
tree | 61e9e41449b17009325a30afcaad03adb5853e51 /custom/borgbackup.nix | |
parent | 33a25859498ac876d5dcc55231e1a3fc3580a7de (diff) | |
download | nixos-2140a07f2d105b4d5906f06287e5183461b80542.tar nixos-2140a07f2d105b4d5906f06287e5183461b80542.tar.gz nixos-2140a07f2d105b4d5906f06287e5183461b80542.tar.bz2 nixos-2140a07f2d105b4d5906f06287e5183461b80542.tar.xz nixos-2140a07f2d105b4d5906f06287e5183461b80542.zip |
…
Diffstat (limited to 'custom/borgbackup.nix')
-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 49da1975..e0651a43 100644 --- a/custom/borgbackup.nix +++ b/custom/borgbackup.nix | |||
@@ -61,7 +61,7 @@ in { | |||
61 | Persistent = true; | 61 | Persistent = true; |
62 | OnUnitInactiveSec = "6h"; | 62 | OnUnitInactiveSec = "6h"; |
63 | }; | 63 | }; |
64 | }) (flatten (mapAttrsToList (target: tCfg: map (path: { inherit target path; }) tCfg.paths;) cfg.targets))); | 64 | }) (flatten (mapAttrsToList (target: tCfg: map (path: { inherit target path; }) tCfg.paths) cfg.targets))); |
65 | 65 | ||
66 | systemd.services = map (target: nameValuePair "borgbackup-${target}@" (let | 66 | systemd.services = map (target: nameValuePair "borgbackup-${target}@" (let |
67 | deps = flatten [ | 67 | deps = flatten [ |