mirror of
https://github.com/nix-community/disko.git
synced 2024-09-11 06:25:33 +03:00
create.filesystem: support extraArgs
This commit is contained in:
parent
81e704b638
commit
e4836108d5
@ -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 New Issue
Block a user