Can someone please help me? I’ve recently bought a Brother MFC-J5340DWE printer and although I could download a .deb or .rpm file for it and it works fine on OpenSUSE, I’m trying to switch to NixOS and having this issue. I’ve read previous threads and tried to follow previous instructions with git clone git@github.com:NixOS/nixpkgs.git but get an error saying permission denied. I can find the source for a similar printer but have no idea where to go from here. I can scan just fine using brscan5 but not print. Can someone please give me a simple, step-by-step guide to building/creating a package for it?
I don’t know how to get that to work, I did that for my previous printer and that worked but when I used the same config for the new one, it didn’t work.
I made a printer.nix file to import into my configuration.nix
I’ll attach here