specify type for rootDevice module option
This commit is contained in:
parent
c1ad139310
commit
89c88dd472
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue