diff options
Diffstat (limited to '')
-rw-r--r-- | services/printing/default.nix | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/services/printing/default.nix b/services/printing/default.nix index d178e3b6..3b193eab 100644 --- a/services/printing/default.nix +++ b/services/printing/default.nix @@ -1,4 +1,19 @@ -{config, ...}: { - # Enable CUPS to print documents. - services.printing.enable = true; +# vim: ts=2 +{ + config, + pkgs, + ... +}: { + services.printing = { + enable = true; + webInterface = false; # don't enable the webinterface + drivers = with pkgs; [ + gutenprint + ]; + }; + hardware.sane = { + # TODO this properly won't work like this + enable = true; + extraBackends = [pkgs.sane-airscan]; + }; } |