sane module: add more documentation
Imported from https://nixos.org/wiki/Scanners
This commit is contained in:
parent
e3aa635e68
commit
93a0306e79
@ -21,7 +21,13 @@ in
|
|||||||
hardware.sane.enable = mkOption {
|
hardware.sane.enable = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = false;
|
default = false;
|
||||||
description = "Enable support for SANE scanners.";
|
description = ''
|
||||||
|
Enable support for SANE scanners.
|
||||||
|
|
||||||
|
<note><para>
|
||||||
|
Users in the "scanner" group will gain access to the scanner.
|
||||||
|
</para></note>
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.sane.snapshot = mkOption {
|
hardware.sane.snapshot = mkOption {
|
||||||
@ -33,7 +39,14 @@ in
|
|||||||
hardware.sane.extraBackends = mkOption {
|
hardware.sane.extraBackends = mkOption {
|
||||||
type = types.listOf types.path;
|
type = types.listOf types.path;
|
||||||
default = [];
|
default = [];
|
||||||
description = "Packages providing extra SANE backends to enable.";
|
description = ''
|
||||||
|
Packages providing extra SANE backends to enable.
|
||||||
|
|
||||||
|
<note><para>
|
||||||
|
The example contains the package for HP scanners.
|
||||||
|
</para></note>
|
||||||
|
'';
|
||||||
|
example = literalExample "[ pkgs.hplipWithPlugin ]";
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.sane.configDir = mkOption {
|
hardware.sane.configDir = mkOption {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user