From 46217b24a369853c0ee1ee6d5791a01c36e34440 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Fri, 23 Aug 2024 19:37:43 +0200 Subject: [PATCH] fix(modules/hardware): default for ubi.mtds is `[]` Otherwise, evaluation error for anything not using it. Signed-off-by: Raito Bezarius --- modules/hardware.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/hardware.nix b/modules/hardware.nix index d31a198..9e83db7 100644 --- a/modules/hardware.nix +++ b/modules/hardware.nix @@ -92,7 +92,7 @@ in { description = "List of MTD device to attach"; type = types.listOf types.str; example = [ "ubi_a" "ubi_b" "data" ]; - default = null; + default = [ ]; }; networkInterfaces = mkOption { type = types.attrsOf types.anything;