diff --git a/hosts/common/optional/printing.nix b/hosts/common/optional/printing.nix index 99ed892..4a19c20 100644 --- a/hosts/common/optional/printing.nix +++ b/hosts/common/optional/printing.nix @@ -15,13 +15,18 @@ in { enable = true; nssmdns4 = true; openFirewall = true; + publish = { + enable = true; + addresses = true; + userServices = true; + }; }; }; hardware = { sane = { enable = true; - extraBackends = [pkgs.sane-airscan]; + extraBackends = [pkgs.sane-airscan pkgs.hplipWithPlugin]; netConf = "${serverIp}"; openFirewall = true; }; @@ -29,7 +34,7 @@ in { ensurePrinters = [ { name = "HP_ENVY_6000"; - description = "Network printer hosted on bob"; + description = "Network printer hosted on merlin"; location = "home"; deviceUri = "ipp://${serverIp}/printers/HP_Envy_6000"; model = "everywhere";