small fix to printers

This commit is contained in:
Sam 2025-01-24 23:38:20 +00:00
parent aa53ffc1c1
commit 8908eac2f9
1 changed files with 7 additions and 2 deletions

View File

@ -15,13 +15,18 @@ in {
enable = true; enable = true;
nssmdns4 = true; nssmdns4 = true;
openFirewall = true; openFirewall = true;
publish = {
enable = true;
addresses = true;
userServices = true;
};
}; };
}; };
hardware = { hardware = {
sane = { sane = {
enable = true; enable = true;
extraBackends = [pkgs.sane-airscan]; extraBackends = [pkgs.sane-airscan pkgs.hplipWithPlugin];
netConf = "${serverIp}"; netConf = "${serverIp}";
openFirewall = true; openFirewall = true;
}; };
@ -29,7 +34,7 @@ in {
ensurePrinters = [ ensurePrinters = [
{ {
name = "HP_ENVY_6000"; name = "HP_ENVY_6000";
description = "Network printer hosted on bob"; description = "Network printer hosted on merlin";
location = "home"; location = "home";
deviceUri = "ipp://${serverIp}/printers/HP_Envy_6000"; deviceUri = "ipp://${serverIp}/printers/HP_Envy_6000";
model = "everywhere"; model = "everywhere";