lol

sane module: add more documentation

Imported from https://nixos.org/wiki/Scanners

+15 -2
+15 -2
nixos/modules/services/hardware/sane.nix
··· 21 21 hardware.sane.enable = mkOption { 22 22 type = types.bool; 23 23 default = false; 24 - description = "Enable support for SANE scanners."; 24 + description = '' 25 + Enable support for SANE scanners. 26 + 27 + <note><para> 28 + Users in the "scanner" group will gain access to the scanner. 29 + </para></note> 30 + ''; 25 31 }; 26 32 27 33 hardware.sane.snapshot = mkOption { ··· 33 39 hardware.sane.extraBackends = mkOption { 34 40 type = types.listOf types.path; 35 41 default = []; 36 - description = "Packages providing extra SANE backends to enable."; 42 + description = '' 43 + Packages providing extra SANE backends to enable. 44 + 45 + <note><para> 46 + The example contains the package for HP scanners. 47 + </para></note> 48 + ''; 49 + example = literalExample "[ pkgs.hplipWithPlugin ]"; 37 50 }; 38 51 39 52 hardware.sane.configDir = mkOption {