small fix to printers
This commit is contained in:
parent
aa53ffc1c1
commit
8908eac2f9
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue