mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00:00
create.filesystem: support extraArgs
This commit is contained in:
parent
81e704b638
commit
e4836108d5
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue