brscan4 module: optionSet -> submodule

This commit is contained in:
Eric Sagnes 2016-09-11 16:44:22 +09:00
parent 09a3ea1abf
commit 495a24d912

View File

@ -81,12 +81,11 @@ in
{ office1 = { model = "MFC-7860DW"; ip = "192.168.1.2"; }; { office1 = { model = "MFC-7860DW"; ip = "192.168.1.2"; };
office2 = { model = "MFC-7860DW"; nodename = "BRW0080927AFBCE"; }; office2 = { model = "MFC-7860DW"; nodename = "BRW0080927AFBCE"; };
}; };
type = types.loaOf types.optionSet; type = with types; loaOf (submodule netDeviceOpts);
description = '' description = ''
The list of network devices that will be registered against the brscan4 The list of network devices that will be registered against the brscan4
sane backend. sane backend.
''; '';
options = [ netDeviceOpts ];
}; };
}; };
@ -113,4 +112,4 @@ in
]; ];
}; };
} }