{ pkgs, ... }: { imports = [ ]; users.users = { Rory = { extraGroups = [ "lp" "scanner" ]; }; }; environment.systemPackages = with pkgs; [ xsane simple-scan ]; hardware = { sane.enable = true; sane.extraBackends = [ pkgs.hplipWithPlugin pkgs.sane-airscan ]; }; programs.system-config-printer.enable = true; services = { gvfs.enable = true; saned.enable = true; system-config-printer.enable = true; ipp-usb.enable = true; printing = { enable = true; browsing = true; drivers = with pkgs; [ hplip ]; }; avahi = { enable = true; nssmdns4 = true; reflector = true; publish = { workstation = true; userServices = true; hinfo = true; enable = true; domain = true; addresses = true; }; }; }; system.stateVersion = "22.11"; # DO NOT EDIT! }