smartd module: optionSet -> submodule

This commit is contained in:
Eric Sagnes 2016-09-11 17:55:11 +09:00
parent ef04462ea9
commit 06c11a62b3

View File

@ -197,8 +197,7 @@ in
devices = mkOption {
default = [];
example = [ { device = "/dev/sda"; } { device = "/dev/sdb"; options = "-d sat"; } ];
type = types.listOf types.optionSet;
options = [ smartdOpts ];
type = with types; listOf (submodule smartdOpts);
description = "List of devices to monitor.";
};