summaryrefslogtreecommitdiff
path: root/custom/lvm-snapshots.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-09 12:25:41 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-09 12:25:41 +0200
commit6cb6a758529102d6be2379ac72d025e01673ceda (patch)
tree970f7d9d2e68b3ff18947613dd3899af6ba1190a /custom/lvm-snapshots.nix
parentbb5e226c5ae29e5fa10de9a2682764d0da56fc19 (diff)
downloadnixos-6cb6a758529102d6be2379ac72d025e01673ceda.tar
nixos-6cb6a758529102d6be2379ac72d025e01673ceda.tar.gz
nixos-6cb6a758529102d6be2379ac72d025e01673ceda.tar.bz2
nixos-6cb6a758529102d6be2379ac72d025e01673ceda.tar.xz
nixos-6cb6a758529102d6be2379ac72d025e01673ceda.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 b8ce7fc0..ede67c58 100644
--- a/custom/lvm-snapshots.nix
+++ b/custom/lvm-snapshots.nix
@@ -84,7 +84,7 @@ in {
84 StopWhenUnneeded = !scfg.persist; 84 StopWhenUnneeded = !scfg.persist;
85 }; 85 };
86 86
87 bindsTo = "lvm-snapshot@" + name; 87 bindsTo = [ ("lvm-snapshot@" + name) ];
88 88
89 options = mkIf scfg.readOnly "ro"; 89 options = mkIf scfg.readOnly "ro";
90 90