Adding custom filters and ppd to cups package

Hi everyone,

I’m attempt to add some custon filters and ppd files for a Bixolon thermal printer to my cups installation. I’m unclear on the best way to proceed but have experimented with the following with no success:

  • Building a local derivation based on zj-58 driver, ideally adding said derivation to services.printing.drivers option.
  • Applying an overlay to cups package to added the required files
  • Thought about writing a derivation to add the files to the install /nix/store path for cups, but I can’t figure out how to reference that path.

My nixpkgs knowledge is very basic so any help on the best approach and where to begin would be much appreciated