We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f61850 commit 636fed9Copy full SHA for 636fed9
lib/types/lvm_vg.nix
@@ -62,6 +62,8 @@
62
vgcreate ${config.name} \
63
"''${lvm_devices[@]}"
64
${lib.concatMapStrings (lv: ''
65
+ ${lib.optionalString (lv.lvm_type != null) "modprobe dm-${lv.lvm_type}"}
66
+
67
lvcreate \
68
--yes \
69
${if lib.hasInfix "%" lv.size then "-l" else "-L"} ${lv.size} \
0 commit comments