ups module: optionSet -> submodule

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

View File

@ -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);
};
};