stockholm/lass/2configs/print.nix

25 lines
442 B
Nix
Raw Normal View History

2018-08-14 12:15:14 +00:00
{ pkgs, ... }:
{
services.printing = {
enable = true;
drivers = [
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
};
}