mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 13:03:28 +01:00
create.filesystem: support extraArgs
This commit is contained in:
1 parent
81e704b638
commit
e4836108d5
1 file changed
+3
-1
+3
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user