diff options
Diffstat (limited to 'custom')
-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 6caf799e..6b0d97dc 100644 --- a/custom/borgbackup.nix +++ b/custom/borgbackup.nix | |||
@@ -54,7 +54,7 @@ in { | |||
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}" { |
58 | wantedBy = [ "timers.target" ]; | 58 | wantedBy = [ "timers.target" ]; |
59 | 59 | ||
60 | timerConfig = { | 60 | timerConfig = { |