specify type for rootDevice module option
This commit is contained in:
1 parent
c1ad139310
commit
89c88dd472
1 file changed
+5
-1
@@ -76,7 +76,11 @@ in {
|
|||||||
default = [];
|
default = [];
|
||||||
example = ["ath9k" "ath10k"];
|
example = ["ath9k" "ath10k"];
|
||||||
};
|
};
|
||||||
rootDevice = mkOption { };
|
rootDevice = mkOption {
|
||||||
|
description = "Full path to preferred root device";
|
||||||
|
type = types.str;
|
||||||
|
example = "/dev/mtdblock3";
|
||||||
|
};
|
||||||
networkInterfaces = mkOption {
|
networkInterfaces = mkOption {
|
||||||
type = types.attrsOf types.anything;
|
type = types.attrsOf types.anything;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user