From 813a5cc4d99826314e4c6571adabbbf6c3cd53f4 Mon Sep 17 00:00:00 2001 From: System administrator Date: Wed, 26 Sep 2018 15:20:59 +0200 Subject: [PATCH] scanning and printing support --- configuration.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 4e0d75d..53f1b4d 100644 --- a/configuration.nix +++ b/configuration.nix @@ -70,7 +70,15 @@ in { networking.networkmanager.enable = true; # Enable CUPS to print documents. - services.printing.enable = true; + services.printing = + { enable = true; + drivers = [ pkgs.hplip ]; + }; + # scanners + hardware.sane = + { enable = true; + extraBackends = [ pkgs.hplip ]; + }; # Enable sound. sound.enable = true;