mirror of
https://github.com/nix-community/disko.git
synced 2026-12-03 06:23:28 +01:00
turn all extraArgs into lists
This commit is contained in:
1 parent
7585a30385
commit
6d630b8fe4
5 files changed
+16
-16
No files matched your search
@@ -7,9 +7,9 @@
|
||||
description = "Type";
|
||||
};
|
||||
extraArgs = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "";
|
||||
description = "Arguments to pass";
|
||||
type = lib.types.listOf lib.types.str;
|
||||
default = [ ];
|
||||
description = "Extra arguments";
|
||||
};
|
||||
mountOptions = lib.mkOption {
|
||||
type = lib.types.listOf lib.types.str;
|
||||
@@ -35,7 +35,7 @@
|
||||
inherit config options;
|
||||
default = { dev }: ''
|
||||
mkfs.${config.format} \
|
||||
${config.extraArgs} \
|
||||
${toString config.extraArgs} \
|
||||
${dev}
|
||||
'';
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user