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 d46c323c..9c696393 100644 --- a/custom/borgbackup.nix +++ b/custom/borgbackup.nix | |||
| @@ -90,7 +90,7 @@ in { | |||
| 90 | 90 | ||
| 91 | services.btrfs-snapshots.enable = mkIf (cfg.snapshots == "btrfs") true; | 91 | services.btrfs-snapshots.enable = mkIf (cfg.snapshots == "btrfs") true; |
| 92 | 92 | ||
| 93 | services.lvm-snapshots.snapshots = mkIf (cfg.snapshots == "lvm") (listToAttrs (map (path: nameValuePair (escapeSystemdPath path.LV) { | 93 | services.lvm-snapshots.snapshots = mkIf (cfg.snapshots == "lvm") (listToAttrs (map (path: nameValuePair (escapeSystemdPath (path.VG + "/" + path.LV)) { |
| 94 | inherit (path) LV VG; | 94 | inherit (path) LV VG; |
| 95 | mountName = withPrefix (systemdPath path); | 95 | mountName = withPrefix (systemdPath path); |
| 96 | }) (unique (flatten (mapAttrsToList (target: tCfg: tCfg.paths) cfg.targets))))); | 96 | }) (unique (flatten (mapAttrsToList (target: tCfg: tCfg.paths) cfg.targets))))); |
