create.filesystem: support extraArgs

This commit is contained in:
lassulus 2022-08-25 21:46:48 +02:00
parent 81e704b638
commit e4836108d5

View File

@ -82,7 +82,9 @@ let
'';
create.filesystem = q: x: ''
mkfs.${x.format} ${q.device}
mkfs.${x.format} \
${lib.optionalString (!isNull x.extraArgs or null) x.extraArgs} \
${q.device}
'';
create.devices = q: x: let