services: printing: enable browsing, add drivers

This commit is contained in:
Bloxx12 2025-06-26 20:45:21 +02:00
commit 4b8775bab0
Signed by: faukah
SSH key fingerprint: SHA256:Uj2AXqvtdCA4hn5Hq0ZonhIAyUqI1q4w2sMG3Z1TH7E

View file

@ -18,15 +18,28 @@ in {
tempDir = "/tmp/cups"; tempDir = "/tmp/cups";
# Do not advertise shared printers. # Do not advertise shared printers.
browsing = false; browsing = true;
# browsedConf = ''
# BrowseDNSSDSubTypes _cups,_print
# BrowseLocalProtocols all
# BrowseRemoteProtocols all
# CreateIPPPrinterQueues All
# BrowseProtocols all
# '';
# Enable the CUPS webinterface, accessible at localhost:631. # Enable the CUPS webinterface, accessible at localhost:631.
webInterface = true; webInterface = true;
logLevel = "debug";
# Some local or network printers might need additional drivers. # Some local or network printers might need additional drivers.
# These can be added into here. # These can be added into here.
drivers = [ drivers = with pkgs; [
pkgs.cups-kyocera-ecosys-m552x-p502x gutenprint
cups-kyocera-ecosys-m552x-p502x
cups-filters
]; ];
}; };
@ -35,6 +48,7 @@ in {
avahi = { avahi = {
enable = true; enable = true;
nssmdns4 = true; nssmdns4 = true;
nssmdns6 = true;
openFirewall = true; openFirewall = true;
}; };
}; };