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 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}" { |
