summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--custom/lvm-snapshots.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/custom/lvm-snapshots.nix b/custom/lvm-snapshots.nix
index 228b2ed7..98c64330 100644
--- a/custom/lvm-snapshots.nix
+++ b/custom/lvm-snapshots.nix
@@ -61,9 +61,9 @@ in {
61 61
62 boot.kernelModules = [ "dm_snapshot" ]; 62 boot.kernelModules = [ "dm_snapshot" ];
63 63
64 system.activationScripts = mapAttrs' (name: scfg: nameValuePair ("lvm-mountpoint" + name) '' 64 # system.activationScripts = mapAttrs' (name: scfg: nameValuePair ("lvm-mountpoint" + name) ''
65 mkdir -p ${snapshotMount name} 65 # mkdir -p ${snapshotMount name}
66 '') cfg.snapshots; 66 # '') cfg.snapshots;
67 67
68 systemd.services = mapAttrs' (name: scfg: nameValuePair ("lvm-snapshot@" + escapeSystemdPath name) { 68 systemd.services = mapAttrs' (name: scfg: nameValuePair ("lvm-snapshot@" + escapeSystemdPath name) {
69 enable = true; 69 enable = true;