blob: 848b61c18e5e06477ea9da7a5fa5024eebdaac5b [file] [log] [blame]
{pkgs, ...}: {
config = {
environment.systemPackages = [pkgs.gtklp];
services = {
printing = {
enable = true;
drivers = with pkgs; [foomatic-filters hplip cups-filters];
browsing = true;
browsedConf = ''
BrowseDNSSDSubTypes _cups,_print
BrowseLocalProtocols all
BrowseRemoteProtocols all
CreateIPPPrinterQueues All
BrowseProtocols all
'';
};
};
environment.persistence."/nix/persist".directories = [
"/var/spool/cups"
"/etc/cups"
];
};
}