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;
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";