I was previously using debian, and upon connecting my USB thermal printer, it was immediately recognized and assigned to /dev/usb/lp2. There was also a message in dmesg
notifying me that it was connected and recognized. On nixos however, the only messages that I see are that of the USB device being connected.
I tried editing my hardware configuration to include usblp like so:
boot.kernelModules = ["kvm-intel" "usblp"];
But that did not fix the issue
Could you try adding it here:
boot.initrd.availableKernelModules = [
"usblp"
];
Are you using cups?
After disabling cups the printer was recognized, thanks!