fix(modules/hardware): default for ubi.mtds is []

Otherwise, evaluation error for anything not using it.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
Raito Bezarius 2024-08-23 19:37:43 +02:00
parent 597fbc168e
commit 46217b24a3

View file

@ -92,7 +92,7 @@ in {
description = "List of MTD device to attach"; description = "List of MTD device to attach";
type = types.listOf types.str; type = types.listOf types.str;
example = [ "ubi_a" "ubi_b" "data" ]; example = [ "ubi_a" "ubi_b" "data" ];
default = null; default = [ ];
}; };
networkInterfaces = mkOption { networkInterfaces = mkOption {
type = types.attrsOf types.anything; type = types.attrsOf types.anything;