summaryrefslogtreecommitdiff
path: root/custom/lvm-snapshots.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-09 12:25:13 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-09 12:25:13 +0200
commitbb5e226c5ae29e5fa10de9a2682764d0da56fc19 (patch)
treed343ae746513879567fb5f1eae29c5681fca8de0 /custom/lvm-snapshots.nix
parentb21d31407bb186f4d4446e2d6bbd54c762a8c2ba (diff)
downloadnixos-bb5e226c5ae29e5fa10de9a2682764d0da56fc19.tar
nixos-bb5e226c5ae29e5fa10de9a2682764d0da56fc19.tar.gz
nixos-bb5e226c5ae29e5fa10de9a2682764d0da56fc19.tar.bz2
nixos-bb5e226c5ae29e5fa10de9a2682764d0da56fc19.tar.xz
nixos-bb5e226c5ae29e5fa10de9a2682764d0da56fc19.zip
Diffstat (limited to 'custom/lvm-snapshots.nix')
-rw-r--r--custom/lvm-snapshots.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/lvm-snapshots.nix b/custom/lvm-snapshots.nix
index 21690bb5..b8ce7fc0 100644
--- a/custom/lvm-snapshots.nix
+++ b/custom/lvm-snapshots.nix
@@ -57,7 +57,7 @@ in {
57 57
58 config = mkIf (cfg != {}) { 58 config = mkIf (cfg != {}) {
59 59
60 system.activationScripts = mapAttrs' (name: scfg: nameValuePair (lvm-mountpoint + name) '' 60 system.activationScripts = mapAttrs' (name: scfg: nameValuePair ("lvm-mountpoint" + name) ''
61 mkdir -p ${snapshotMount name} 61 mkdir -p ${snapshotMount name}
62 '') cfg.snapshots; 62 '') cfg.snapshots;
63 63