ups module: optionSet -> submodule
This commit is contained in:
parent
06c11a62b3
commit
981df6387c
|
@ -169,8 +169,7 @@ in
|
|||
monitoring directly. These are usually attached to serial ports,
|
||||
but USB devices are also supported.
|
||||
'';
|
||||
type = types.attrsOf types.optionSet;
|
||||
options = [ upsOptions ];
|
||||
type = with types; attrsOf (submodule upsOptions);
|
||||
};
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue