about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2019-03-04 00:11:29 +0100
committerProfpatsch <mail@profpatsch.de>2019-03-25 13:53:46 +0100
commiteb2421221f85cd7048344ce26acea84e39c22db6 (patch)
treeb03b34f9e94ac69ecc5d218648939d485ce4db5a /modules
parentea3fc6b0f7b9bee6a3442f07c0126ca6eb545ffb (diff)
modules/profpatsch/scanning: add hplip
Diffstat (limited to 'modules')
-rw-r--r--modules/user/profpatsch/programs/scanning.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/user/profpatsch/programs/scanning.nix b/modules/user/profpatsch/programs/scanning.nix
index 906cc95a..6571246f 100644
--- a/modules/user/profpatsch/programs/scanning.nix
+++ b/modules/user/profpatsch/programs/scanning.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, lib, ... }:
+{ config, pkgs, unfreeAndNonDistributablePkgs, lib, ... }:
 
 with lib;
 let
@@ -23,6 +23,7 @@ in {
     hardware.sane = {
       enable = true;
       netConf = cfg.remoteScanners;
+      extraBackends = [ unfreeAndNonDistributablePkgs.hplipWithPlugin ];
     };
   };
 }