liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 89c88dd47242f46adf58304965661d189aa7d91b
parent c1ad1393103a64c68d1f5a127aea83dba0b07c51
Author: Daniel Barlow <dan@telent.net>
Date:   Fri,  2 Feb 2024 19:50:13 +0000

specify type for rootDevice module option

Diffstat:
Mmodules/hardware.nix | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git 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; };