From 89c88dd47242f46adf58304965661d189aa7d91b Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Fri, 2 Feb 2024 19:50:13 +0000 Subject: [PATCH] specify type for rootDevice module option --- modules/hardware.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/hardware.nix b/modules/hardware.nix index 9c8de38..598038d 100644 --- a/modules/hardware.nix +++ b/modules/hardware.nix @@ -76,7 +76,11 @@ in { default = []; example = ["ath9k" "ath10k"]; }; - rootDevice = mkOption { }; + rootDevice = mkOption { + description = "Full path to preferred root device"; + type = types.str; + example = "/dev/mtdblock3"; + }; networkInterfaces = mkOption { type = types.attrsOf types.anything; };