specify type for rootDevice module option

This commit is contained in:
Daniel Barlow 2024-02-02 19:50:13 +00:00
parent c1ad139310
commit 89c88dd472

View file

@ -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;
}; };