diff options
| -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 865cda3b..8d63e725 100644 --- a/custom/borgbackup.nix +++ b/custom/borgbackup.nix | |||
| @@ -92,7 +92,7 @@ in { | |||
| 92 | 92 | ||
| 93 | services.lvm-snapshots.snapshots = mkIf (cfg.snapshots == "lvm") (listToAttrs (map (path: nameValuePair (path.VG + "-" + path.LV) { | 93 | services.lvm-snapshots.snapshots = mkIf (cfg.snapshots == "lvm") (listToAttrs (map (path: nameValuePair (path.VG + "-" + path.LV) { |
| 94 | inherit (path) LV VG; | 94 | inherit (path) LV VG; |
| 95 | mountName = withPrefix (VG + "-" + LV); | 95 | mountName = withPrefix (path.VG + "-" + path.LV); |
| 96 | }) (unique (flatten (mapAttrsToList (target: tCfg: tCfg.paths) cfg.targets))))); | 96 | }) (unique (flatten (mapAttrsToList (target: tCfg: tCfg.paths) cfg.targets))))); |
| 97 | 97 | ||
| 98 | systemd.timers = (listToAttrs (map ({ target, path, tCfg }: nameValuePair "borgbackup-${target}@${systemdPath path}" { | 98 | systemd.timers = (listToAttrs (map ({ target, path, tCfg }: nameValuePair "borgbackup-${target}@${systemdPath path}" { |
