stockholm/lass/2configs/print.nix
2023-02-08 15:01:04 +01:00

25 lines
442 B
Nix

{ pkgs, ... }:
{
services.printing = {
enable = true;
drivers = [
pkgs.foomatic-filters
pkgs.gutenprint
];
browsing = true;
browsedConf = ''
BrowseDNSSDSubTypes _cups,_print
BrowseLocalProtocols all
BrowseRemoteProtocols all
CreateIPPPrinterQueues All
BrowseProtocols all
'';
};
services.avahi = {
enable = true;
openFirewall = true;
nssmdns = true;
};
}