Gnome auto adding invalid printer queues

I’ve seen variations of this mentioned but any solutions found have not matched my requirements.

I had a problem with printers being added in Gnome by network discovery but they were invalid and I could not use them to print. The proper NixOS way is obviously to define these printers declaratively which I did do however then the printers just doubled up.

I’ve set services.printing.browsed.enable = false but that was not enough. The only way I found to disable this auto-discovery is services.avahi.enable = false. This unfortunately has the side effect that scanner (and probably some other things) discovery no longer works. I use simple-scan and it can’t find the scanner without avahi enabled.

When trying to find a solution I discovered that while the auto-discovered printers appear in Gnome and print dialogs they do not in fact have print queues so lpstat -v only shows my own defined printers.

The final relevant setting services.printing.browsing, when set to true it along with the other two settings does in fact create queues with implicitclass rather than ipp and they do not work for my printers.

Is there any solution that can stop Gnome auto discovering printers but keep avahi?

Or alternatively, any way for me to predefine a scanner so that simple scan can discover it?

Thanks