From f23ddc55a6c695277b56a5cba37dfc322e5d1820 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Sat, 5 Nov 2022 10:55:52 +0100 Subject: [PATCH] nixos/sane: mention sane-airscan in the extraBackends option It's a very useful backend (that probably should be enabled by default, like on Ubuntu), let's start by making it easier to discover. Ref https://github.com/NixOS/nixpkgs/issues/28406. --- nixos/modules/services/hardware/sane.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/hardware/sane.nix b/nixos/modules/services/hardware/sane.nix index 5455cf56e8aa..cb9bee6130c6 100644 --- a/nixos/modules/services/hardware/sane.nix +++ b/nixos/modules/services/hardware/sane.nix @@ -70,10 +70,12 @@ in Packages providing extra SANE backends to enable. ::: {.note} - The example contains the package for HP scanners. + The example contains the package for HP scanners, and the package for + Apple AirScan and Microsoft WSD support (supports many + vendors/devices). ::: ''; - example = literalExpression "[ pkgs.hplipWithPlugin ]"; + example = literalExpression "[ pkgs.hplipWithPlugin pkgs.sane-airscan ]"; }; hardware.sane.disabledDefaultBackends = mkOption {