I have cups printing working on NixOS with my HP OfficeJet Pro 8610. But how do I get scanning working with, say, simple-scan?


So it's pretty simple, actually; in your /etc/nixos/configuration.nix, add the following:

hardware.sane = {
  enable = true;
  extraBackends = [ pkgs.hplipWithPlugin ];

And for user(s) that you want to allow to scan, add them to the "scanner" group:

users.users.<username>.extraGroups = [ ... "scanner" ];

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.