brscan5: simplify mkEnableOption

This commit is contained in:
Matt Christ 2021-05-28 20:52:14 -05:00
parent c92404dc69
commit dd54ac5648

@ -68,12 +68,7 @@ in
options = {
hardware.sane.brscan5.enable =
mkEnableOption "Brother's brscan5 scan backend" // {
description = ''
When enabled, will automatically register the "brscan5" sane
backend and bring configuration files to their expected location.
'';
};
mkEnableOption "the Brother brscan5 sane backend";
hardware.sane.brscan5.netDevices = mkOption {
default = {};