Problem with HP Smart Tank 5106

I installed Hplip 3.23.8 but it is too old and does not have printer drivers. I took the .ppd file from Hplip 3.24.4 but it doesn’t work.
This is my configuration.nix

# Enable CUPS to print documents.
  services.printing.enable = true;
  services.ipp-usb.enable = true;
services.avahi = {
  enable = true;
  nssmdns = true;
  openFirewall = true;
};

services.printing = {
  listenAddresses = [ "*:631" ];
  allowFrom = [ "all" ];
  browsing = true;
  defaultShared = true;
  openFirewall = true;
};

Any suggestions? Thank you