2018-08-14 12:15:14 +00:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
|
|
|
services.printing = {
|
|
|
|
enable = true;
|
|
|
|
drivers = [
|
2022-03-23 10:52:41 +00:00
|
|
|
pkgs.foomatic-filters
|
2018-08-14 12:15:14 +00:00
|
|
|
pkgs.gutenprint
|
|
|
|
];
|
2023-02-06 11:48:11 +00:00
|
|
|
browsing = true;
|
|
|
|
browsedConf = ''
|
|
|
|
BrowseDNSSDSubTypes _cups,_print
|
|
|
|
BrowseLocalProtocols all
|
|
|
|
BrowseRemoteProtocols all
|
|
|
|
CreateIPPPrinterQueues All
|
|
|
|
|
|
|
|
BrowseProtocols all
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
services.avahi = {
|
|
|
|
enable = true;
|
|
|
|
openFirewall = true;
|
|
|
|
nssmdns = true;
|
2018-08-14 12:15:14 +00:00
|
|
|
};
|
|
|
|
}
|