more printing

This commit is contained in:
Motiejus Jakštys 2024-11-03 17:56:22 +02:00
parent a93beea67d
commit f1d6c30127

View File

@ -122,9 +122,22 @@
}; };
}; };
services.avahi = {
enable = true;
nssmdns = true;
openFirewall = true;
publish = {
enable = true;
userServices = true;
};
};
services.printing = { services.printing = {
enable = true; enable = true;
openFirewall = true; openFirewall = true;
allowFrom = [ "all" ];
browsing = true;
defaultShared = true;
drivers = [ drivers = [
(pkgs.writeTextDir "share/cups/model/HP_Color_Laser_15x_Series.ppd" ( (pkgs.writeTextDir "share/cups/model/HP_Color_Laser_15x_Series.ppd" (
builtins.readFile ../../shared/CNCUPSMF3010ZK.ppd builtins.readFile ../../shared/CNCUPSMF3010ZK.ppd