smartd module: optionSet -> submodule

This commit is contained in:
Eric Sagnes 2016-09-11 17:55:11 +09:00
parent ef04462ea9
commit 06c11a62b3
1 changed files with 1 additions and 2 deletions

View File

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