summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-12-17 04:11:42 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2017-12-17 04:11:42 +0100
commit5b85afc757bea2edc92556b26382240fe5449bac (patch)
tree50937575b39ac56df41ea2f0f0a8870f4899cad0 /custom
parentf84447c7705c41d738490c058d38ae7eae424440 (diff)
downloadnixos-5b85afc757bea2edc92556b26382240fe5449bac.tar
nixos-5b85afc757bea2edc92556b26382240fe5449bac.tar.gz
nixos-5b85afc757bea2edc92556b26382240fe5449bac.tar.bz2
nixos-5b85afc757bea2edc92556b26382240fe5449bac.tar.xz
nixos-5b85afc757bea2edc92556b26382240fe5449bac.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 200194a2..54665c84 100644
--- a/custom/borgbackup.nix
+++ b/custom/borgbackup.nix
@@ -51,7 +51,7 @@ in {
51 }; 51 };
52 }; 52 };
53 53
54 config = mkIf (any (t: t.paths != []) (attrValues cfg.targets) { 54 config = mkIf (any (t: t.paths != []) (attrValues cfg.targets)) {
55 services.btrfs-snapshots.enable = mkIf (cfg.snapshots == "btrfs") true; 55 services.btrfs-snapshots.enable = mkIf (cfg.snapshots == "btrfs") true;
56 56
57 systemd.timers = listToAttrs (map (target: path: nameValuePair "borgbackup-${target}@${path}" { 57 systemd.timers = listToAttrs (map (target: path: nameValuePair "borgbackup-${target}@${path}" {